- SvrProcess.process should always log exception
This commit is contained in:
Heng Sin Low 2009-10-05 08:28:46 +00:00
parent c3f61badd9
commit fce6682bc1
1 changed files with 2 additions and 4 deletions

View File

@ -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);
}