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 15:47:58 +01:00
Ursprung ae638bb2bf
Commit b3f80e2be6

Datei anzeigen

@ -73,6 +73,9 @@ public class ErrorHandler extends Handler {
if(stacktrace.contains("POI data mismatch")) if(stacktrace.contains("POI data mismatch"))
return; return;
if(message.isEmpty() && stacktrace.isEmpty())
return;
try { try {
SWException.log(message, stacktrace); SWException.log(message, stacktrace);
} catch (SecurityException e) { } catch (SecurityException e) {
@ -140,6 +143,7 @@ public class ErrorHandler extends Handler {
startsWith.add("Biome with id"); startsWith.add("Biome with id");
startsWith.add("1.16 and 1.16.1 clients are only partially supported"); startsWith.add("1.16 and 1.16.1 clients are only partially supported");
startsWith.add("Unable to parse CustomName from "); startsWith.add("Unable to parse CustomName from ");
startsWith.add("java.util.ConcurrentModificationException");
ignoreStartsWith = Collections.unmodifiableList(startsWith); ignoreStartsWith = Collections.unmodifiableList(startsWith);
List<String> contains = new ArrayList<>(); List<String> contains = new ArrayList<>();