- SvrProcess.process should always log exception
This commit is contained in:
parent
c3f61badd9
commit
fce6682bc1
|
@ -153,10 +153,8 @@ public abstract class SvrProcess implements ProcessCall
|
||||||
msg = e.toString();
|
msg = e.toString();
|
||||||
if (e.getCause() != null)
|
if (e.getCause() != null)
|
||||||
log.log(Level.SEVERE, msg, e.getCause());
|
log.log(Level.SEVERE, msg, e.getCause());
|
||||||
else if (CLogMgt.isLevelFine())
|
|
||||||
log.log(Level.WARNING, msg, e);
|
|
||||||
else
|
else
|
||||||
log.warning(msg);
|
log.log(Level.SEVERE, msg, e);
|
||||||
success = false;
|
success = false;
|
||||||
// throw new RuntimeException(e);
|
// throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue