Add stacktrace deobfuscation in more places (#8484)

This commit is contained in:
Jason Penilla
2022-10-18 19:21:07 -07:00
parent 03245caed0
commit 13f7207665
7 changed files with 98 additions and 12 deletions

View File

@@ -217,6 +217,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@@ -0,0 +0,0 @@
+package com.destroystokyo.paper.exception;
+
+import java.util.logging.Level;
+import org.bukkit.Bukkit;
+import com.destroystokyo.paper.event.server.ServerExceptionEvent;
+
@@ -246,7 +247,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ Bukkit.getPluginManager().callEvent(new ServerExceptionEvent(new ServerInternalException(cause)));
+ ;
+ } catch (Throwable t) {
+ t.printStackTrace(); // Don't want to rethrow!
+ Bukkit.getLogger().log(Level.WARNING, "Exception posting ServerExceptionEvent", t); // Don't want to rethrow!
+ }
+ }
+}