From ca155e2e9ba6b5940b071fb8167998b07aeecf37 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 27 Mar 2016 20:42:06 +0000 Subject: [PATCH] Print full stacktrace (just in case) --- source/net/filebot/cli/ArgumentProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/cli/ArgumentProcessor.java b/source/net/filebot/cli/ArgumentProcessor.java index 2aa30291..5a4c99fc 100644 --- a/source/net/filebot/cli/ArgumentProcessor.java +++ b/source/net/filebot/cli/ArgumentProcessor.java @@ -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); } }