Skip to content

Commit efcbaed

Browse files
committed
Show Exceptions To Users If It Cancels Their Action
1 parent 133526c commit efcbaed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/the/bytecode/club/bytecodeviewer/GlobalHotKeys.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ else if ((e.getKeyCode() == KeyEvent.VK_S) && ((e.getModifiersEx() & KeyEvent.CT
129129
}
130130
catch (Exception ex)
131131
{
132-
ex.printStackTrace();
132+
BytecodeViewer.handleException(ex);
133133
}
134134
}, "Resource Export");
135135

src/main/java/the/bytecode/club/bytecodeviewer/plugin/PluginWriter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public void save()
265265
}
266266
catch (Exception e)
267267
{
268-
e.printStackTrace();
268+
BytecodeViewer.handleException(e);
269269
}
270270
}
271271

0 commit comments

Comments
 (0)