Remove logging of Block at XXX should be XXX messages
Dieser Commit ist enthalten in:
Ursprung
5c176b0afb
Commit
f6f2c7ce9a
@ -20,6 +20,10 @@ public class SWException {
|
||||
throwable = throwable.getCause();
|
||||
}
|
||||
|
||||
SQL.update("INSERT INTO Exception (server, message, stacktrace) VALUES ('" + server + "', '" + SQL.disarmString(logEvent.getMessage().getFormattedMessage()) + "', '" + SQL.disarmString(stacktrace.toString()) + "')");
|
||||
String message = logEvent.getMessage().getFormattedMessage();
|
||||
if(message.startsWith("Block at"))
|
||||
return;
|
||||
|
||||
SQL.update("INSERT INTO Exception (server, message, stacktrace) VALUES ('" + server + "', '" + SQL.disarmString(message) + "', '" + SQL.disarmString(stacktrace.toString()) + "')");
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren