Don't print stacktrace for not-unexpected warnings
This commit is contained in:
parent
57333f5c99
commit
0b385943a1
|
@ -147,7 +147,7 @@ public abstract class ScriptShellBaseClass extends Script {
|
||||||
if (severe) {
|
if (severe) {
|
||||||
log.log(level, trace(t));
|
log.log(level, trace(t));
|
||||||
} else {
|
} else {
|
||||||
log.log(level, t, t::getMessage);
|
log.log(level, t::getMessage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue