* simplify default exception logging for scripts
This commit is contained in:
parent
d69b1da6a3
commit
33787055a5
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue