IDEMPIERE-5730 - Context is not parsed in exception message logs thrown from processes (#1845)
This commit is contained in:
parent
430823153f
commit
31365e24e9
|
@ -270,9 +270,9 @@ public abstract class SvrProcess implements ProcessCall
|
|||
if (msg == null)
|
||||
msg = e.toString();
|
||||
if (e.getCause() != null)
|
||||
log.log(Level.SEVERE, msg, e.getCause());
|
||||
log.log(Level.SEVERE, Msg.parseTranslation(getCtx(), msg), e.getCause());
|
||||
else
|
||||
log.log(Level.SEVERE, msg, e);
|
||||
log.log(Level.SEVERE, Msg.parseTranslation(getCtx(), msg), e);
|
||||
success = false;
|
||||
// throw new RuntimeException(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue