* simplify default exception logging for scripts

This commit is contained in:
Reinhard Pointner 2014-07-18 22:04:00 +00:00
parent d69b1da6a3
commit 33787055a5
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public abstract class ScriptShellBaseClass extends Script {
} }
public void printException(Throwable t) { 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 // DEBUG
// StackTraceUtils.deepSanitize(t).printStackTrace(); // StackTraceUtils.deepSanitize(t).printStackTrace();