Print full stacktrace (just in case)
This commit is contained in:
parent
21f8c121c2
commit
ca155e2e9b
|
@ -48,7 +48,7 @@ public class ArgumentProcessor {
|
|||
} else if (findCause(e, ScriptDeath.class) != null) {
|
||||
log.log(Level.WARNING, findCause(e, ScriptDeath.class).getMessage());
|
||||
} else {
|
||||
log.log(Level.SEVERE, String.format("%s: %s", getRootCause(e).getClass().getSimpleName(), getRootCauseMessage(e)), getRootCause(e));
|
||||
log.log(Level.SEVERE, e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue