- 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();
|
||||
if (e.getCause() != null)
|
||||
log.log(Level.SEVERE, msg, e.getCause());
|
||||
else if (CLogMgt.isLevelFine())
|
||||
log.log(Level.WARNING, msg, e);
|
||||
else
|
||||
log.warning(msg);
|
||||
else
|
||||
log.log(Level.SEVERE, msg, e);
|
||||
success = false;
|
||||
// throw new RuntimeException(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue