1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00

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

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