diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/GlobalHotKeys.java b/src/main/java/the/bytecode/club/bytecodeviewer/GlobalHotKeys.java index 86ba437b..dda8df13 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/GlobalHotKeys.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/GlobalHotKeys.java @@ -129,7 +129,7 @@ public class GlobalHotKeys } catch (Exception ex) { - ex.printStackTrace(); + BytecodeViewer.handleException(ex); } }, "Resource Export"); diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java b/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java index 53bb8b8d..3eab06b0 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java @@ -265,7 +265,7 @@ public class PluginWriter extends JFrame } catch (Exception e) { - e.printStackTrace(); + BytecodeViewer.handleException(e); } }