SteamWar/SpigotCore
Archiviert
13
0

Add ignores to ErrorHandler
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2023-03-07 16:48:15 +01:00
Ursprung b3f80e2be6
Commit db00eb46d6

Datei anzeigen

@ -70,7 +70,7 @@ public class ErrorHandler extends Handler {
if(logRecord.getThrown() != null)
logRecord.getThrown().printStackTrace(new PrintStream(stacktraceOutput));
String stacktrace = stacktraceOutput.toString();
if(stacktrace.contains("POI data mismatch"))
if(stacktrace.contains("POI data mismatch") || stacktrace.contains("Newer version! Server downgrades are not supported!"))
return;
if(message.isEmpty() && stacktrace.isEmpty())
@ -144,6 +144,11 @@ public class ErrorHandler extends Handler {
startsWith.add("1.16 and 1.16.1 clients are only partially supported");
startsWith.add("Unable to parse CustomName from ");
startsWith.add("java.util.ConcurrentModificationException");
startsWith.add("com.destroystokyo.paper.exception.ServerInternalException: Attempted to place a tile entity");
startsWith.add("World: minecraft:overworld");
startsWith.add("Chunk coordinates: ");
startsWith.add("Failed to save history");
startsWith.add("\t... ");
ignoreStartsWith = Collections.unmodifiableList(startsWith);
List<String> contains = new ArrayList<>();