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