Reduce Error Message spam
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
29f435755c
Commit
7323db13c9
@ -67,7 +67,12 @@ public class ErrorLogger extends Handler implements Filter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String stacktraceString = stacktrace.toString();
|
String stacktraceString = stacktrace.toString();
|
||||||
SWException.log("Bungee", MessageFormat.format(record.getMessage(), record.getParameters()), stacktraceString);
|
String message = MessageFormat.format(record.getMessage(), record.getParameters());
|
||||||
|
|
||||||
|
if(message.contains("ServerConnector") || message.contains("InitialHandler") || message.contains("DownstreamBridge"))
|
||||||
|
return;
|
||||||
|
|
||||||
|
SWException.log("Bungee", message, stacktraceString);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren