Improves error message
authorEduardo Argal Guibert <eduardo.argal@openbravo.com>
Tue, 29 Jul 2014 18:41:35 +0200
changeset 24131 5366618a2141
parent 24130 6f9569492c59
child 24132 e16f466cacf3
Improves error message
src/org/openbravo/erpCommon/ad_forms/AcctServer.java
--- a/src/org/openbravo/erpCommon/ad_forms/AcctServer.java	Tue Jul 29 08:34:51 2014 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/AcctServer.java	Tue Jul 29 18:41:35 2014 +0200
@@ -1087,9 +1087,7 @@
     try {
       m_fact[index] = createFact(m_as[index], conn, con, vars);
     } catch (Exception e) {
-      log4j.warn(e);
-      log4j.warn("RecordID: " + Record_ID + " - TableId: " + AD_Table_ID);
-      e.printStackTrace();
+      log4j.warn("RecordID: " + Record_ID + " - TableId: " + AD_Table_ID, e);
     }
     if (!Status.equals(STATUS_NotPosted))
       return Status;