BF [ 2528297 ] Poor error message on jasper fail

This commit is contained in:
teo_sarca 2009-01-22 11:03:59 +00:00
parent 0fc80586b8
commit 334bd2b27a
1 changed files with 4 additions and 3 deletions

View File

@ -25,8 +25,9 @@ import org.compiere.wf.MWorkflow;
/** /**
* *
* @author Low Heng Sin * @author Low Heng Sin
* * @author Teo Sarca, SC ARHIPAC SERVICE SRL
* @author Teo Sarca, SC ARHIPAC SERVICE SRL - BF [ 1757523 ] * <li>BF [ 1757523 ] Server Processes are using Server's context
* <li>BF [ 2528297 ] Poor error message on jasper fail
*/ */
public final class ProcessUtil { public final class ProcessUtil {
@ -127,7 +128,7 @@ public final class ProcessUtil {
trx.rollback(); trx.rollback();
trx.close(); trx.close();
} }
pi.setSummary("ProcessError", true); pi.setSummary (Msg.getMsg(Env.getCtx(), "ProcessError") + " " + e.getLocalizedMessage(), true);
log.log(Level.SEVERE, pi.getClassName(), e); log.log(Level.SEVERE, pi.getClassName(), e);
return false; return false;
} }