Print full stacktrace (just in case)

This commit is contained in:
Reinhard Pointner 2016-03-27 20:42:06 +00:00
parent 21f8c121c2
commit ca155e2e9b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}