mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
print full stack trace if debug logging is enabled
This commit is contained in:
parent
b51cb13b4d
commit
5f641dc1a6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user