Handle errors in Apache.
Dieser Commit ist enthalten in:
Ursprung
485c3856c1
Commit
300d3c2475
@ -421,6 +421,9 @@ public class DetailedErrorReporter implements ErrorReporter {
|
|||||||
} catch (LinkageError ex) {
|
} catch (LinkageError ex) {
|
||||||
// Apache is probably missing
|
// Apache is probably missing
|
||||||
apacheCommonsMissing = true;
|
apacheCommonsMissing = true;
|
||||||
|
} catch (Exception e) {
|
||||||
|
// Don't use the error logger to log errors in error logging (that could lead to infinite loops)
|
||||||
|
System.err.print("[ProtocolLib] Warning: Cannot convert to a String with Apache: " + e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use our custom object printer instead
|
// Use our custom object printer instead
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren