related to bug 37214: removed printStackTrace
authorAsier Lostalé <asier.lostale@openbravo.com>
Thu, 16 Nov 2017 08:31:03 +0100
changeset 33007 2d234dbfd9da
parent 33006 69bfa2a635a4
child 33008 73796483a567
related to bug 37214: removed printStackTrace
src/org/openbravo/erpCommon/ad_forms/SQLExecutor.java
--- a/src/org/openbravo/erpCommon/ad_forms/SQLExecutor.java	Wed Nov 15 14:18:09 2017 +0100
+++ b/src/org/openbravo/erpCommon/ad_forms/SQLExecutor.java	Thu Nov 16 08:31:03 2017 +0100
@@ -133,7 +133,6 @@
   }
 
   private void showErrorMessage(VariablesSecureApp vars, Exception ex) {
-    ex.printStackTrace();
     OBError myMessage = new OBError();
     myMessage.setType("Error");
     myMessage.setTitle(Utility.messageBD(this, "Error", vars.getLanguage()));
@@ -147,7 +146,6 @@
     try {
       data = SQLExecutor_Query.select(this, strSQL);
     } catch (Exception ex) {
-      ex.printStackTrace();
       return "0";
     }
     while (initRecord < data.length) {