mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* display errors correctly
This commit is contained in:
parent
8211902ca0
commit
1525623ccd
@ -237,7 +237,10 @@ public class GroovyPad extends JFrame {
|
||||
shell.evaluate("println();", binding, true);
|
||||
}
|
||||
} catch (ScriptException e) {
|
||||
e.getCause().getCause().printStackTrace();
|
||||
while (e.getCause() instanceof ScriptException) {
|
||||
e = (ScriptException) e.getCause();
|
||||
}
|
||||
e.printStackTrace();
|
||||
} catch (Throwable e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user