Fixes ISSUE-43703: Re-add exception message to TranslationHandler
authorCristian Berner <cristian.berner@openbravo.com>
Wed, 15 Apr 2020 10:40:05 +0200
changeset 37243 273baf3c5fbc
parent 37242 963b1136e42a
child 37244 19e0f1b700f6
Fixes ISSUE 43703: Re-add exception message to TranslationHandler
src/org/openbravo/erpCommon/ad_forms/TranslationHandler.java
--- a/src/org/openbravo/erpCommon/ad_forms/TranslationHandler.java	Thu Mar 26 07:43:14 2020 +0100
+++ b/src/org/openbravo/erpCommon/ad_forms/TranslationHandler.java	Wed Apr 15 10:40:05 2020 +0200
@@ -201,7 +201,8 @@
 
         no = st.executeUpdate();
       } catch (Exception e) {
-        log4j.error("Failed query importing translation: {} with parameters {}", m_sql, parameters);
+        log4j.error("Failed query importing translation: {} with parameters {}. Exception: {}",
+            m_sql, parameters, e.getMessage());
       } finally {
         try {
           DB.releaseTransactionalPreparedStatement(st);