Better error message when internal function calls fail
This commit is contained in:
parent
b44df59d55
commit
df1c2ca7fd
|
@ -153,7 +153,7 @@ public abstract class ScriptShellBaseClass extends Script {
|
|||
if (severe) {
|
||||
log.log(Level.SEVERE, trace(t));
|
||||
} else {
|
||||
log.log(Level.WARNING, t::getMessage);
|
||||
log.log(Level.WARNING, format("%s: %s", t.getClass().getSimpleName(), t.getMessage()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue