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 {
|
} else {
|
||||||
log.log(Level.WARNING, cause(t));
|
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 {
|
public void die(Object cause) throws Throwable {
|
||||||
|
|
Loading…
Reference in New Issue