Reducing exception spam
Dieser Commit ist enthalten in:
Ursprung
6f3e1ebc3c
Commit
b0e2b9ee02
@ -29,11 +29,19 @@ public class SWException {
|
||||
String message = logEvent.getMessage().getFormattedMessage();
|
||||
if(message.startsWith("Block at") || message.startsWith("POI data mismatch"))
|
||||
return;
|
||||
|
||||
if(message.equals("------------------------------")){
|
||||
else if(message.equals("The server has stopped responding!")){
|
||||
logDisabled = true;
|
||||
return;
|
||||
}else if(message.equals("------------------------------")){
|
||||
message = "Server stopped responding";
|
||||
logDisabled = true;
|
||||
}
|
||||
}else if(message.equals("Exception stopping the server")){
|
||||
logDisabled = true;
|
||||
}else if(message.startsWith("This crash report has been saved to:") || message.startsWith("Could not pass event PlayerQuitEvent to WorldEditSUI")){
|
||||
return;
|
||||
}else if(message.startsWith("[ViaVersion] Failed to remove injection handler"))
|
||||
return;
|
||||
|
||||
|
||||
message += "\n\n";
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren