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

print full stack trace if debug logging is enabled

This commit is contained in:
Reinhard Pointner 2018-03-09 14:55:04 +07:00
parent b51cb13b4d
commit 5f641dc1a6

View File

@ -155,6 +155,9 @@ public abstract class ScriptShellBaseClass extends Script {
} else {
log.log(Level.WARNING, cause(t));
}
// print full stack trace if debug logging is enabled
debug.log(Level.ALL, "Suppressed Exception: " + t, t);
}
public void die(Object cause) throws Throwable {