fixed bug
33192: hidden stack trace on VariablesBase error logging
--- a/src-core/src/org/openbravo/base/VariablesBase.java Tue Jun 07 19:59:56 2016 +0530
+++ b/src-core/src/org/openbravo/base/VariablesBase.java Wed Jun 08 13:21:55 2016 +0200
@@ -1,6 +1,6 @@
/*
************************************************************************************
- * Copyright (C) 2001-2015 Openbravo S.L.U.
+ * Copyright (C) 2001-2016 Openbravo S.L.U.
* Licensed under the Apache Software License version 2.0
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed
@@ -1430,7 +1430,7 @@
sessionAttributes.put(attribute.toUpperCase(), value);
}
} catch (Exception e) {
- log4j.error("setSessionObject error: " + attribute + ":..." + e);
+ log4j.error("setSessionObject error: " + attribute + ":...", e);
}
}
@@ -1477,7 +1477,7 @@
sessionAttributes.clear();
}
} catch (Exception e) {
- log4j.error("clearSession error " + e);
+ log4j.error("clearSession error ", e);
}
if (session != null) {
if (!target.equals("")) {