Don't print stacktrace for not-unexpected warnings

This commit is contained in:
Reinhard Pointner 2016-05-10 05:45:53 +08:00
parent 57333f5c99
commit 0b385943a1
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ public abstract class ScriptShellBaseClass extends Script {
if (severe) {
log.log(level, trace(t));
} else {
log.log(level, t, t::getMessage);
log.log(level, t::getMessage);
}
}