1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 16:58:51 -05:00

* display errors correctly

This commit is contained in:
Reinhard Pointner 2013-12-21 06:51:59 +00:00
parent 8211902ca0
commit 1525623ccd

View File

@ -237,7 +237,10 @@ public class GroovyPad extends JFrame {
shell.evaluate("println();", binding, true); shell.evaluate("println();", binding, true);
} }
} catch (ScriptException e) { } catch (ScriptException e) {
e.getCause().getCause().printStackTrace(); while (e.getCause() instanceof ScriptException) {
e = (ScriptException) e.getCause();
}
e.printStackTrace();
} catch (Throwable e) { } catch (Throwable e) {
e.printStackTrace(); e.printStackTrace();
} }