Archiviert
13
0

Handle errors in Apache.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2014-03-28 20:50:10 +01:00
Ursprung 485c3856c1
Commit 300d3c2475

Datei anzeigen

@ -421,6 +421,9 @@ public class DetailedErrorReporter implements ErrorReporter {
} catch (LinkageError ex) {
// Apache is probably missing
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