From 33787055a54fb22ce19088a9f28baef468f0d252 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 18 Jul 2014 22:04:00 +0000 Subject: [PATCH] * simplify default exception logging for scripts --- source/net/filebot/cli/ScriptShellBaseClass.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/cli/ScriptShellBaseClass.java b/source/net/filebot/cli/ScriptShellBaseClass.java index 9c924741..a466c750 100644 --- a/source/net/filebot/cli/ScriptShellBaseClass.java +++ b/source/net/filebot/cli/ScriptShellBaseClass.java @@ -119,7 +119,7 @@ public abstract class ScriptShellBaseClass extends Script { } public void printException(Throwable t) { - CLILogger.severe(String.format("%s: %s", t.getClass().getName(), t.getMessage())); + CLILogger.severe(String.format("%s: %s", t.getClass().getSimpleName(), t.getMessage())); // DEBUG // StackTraceUtils.deepSanitize(t).printStackTrace();