details: https://code.openbravo.com/erp/devel/pi/rev/0556ae26724d
changeset: 19635:0556ae26724d
user: Javier Etxarri <javier.echarri <at> openbravo.com>
date: Mon Feb 11 16:34:40 2013 +0100
summary: Fixes issue 22636: Process monitor does not show errors
diffstat:
src/org/openbravo/service/db/DalBaseProcess.java | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r fe46ee66e77a -r 0556ae26724d
src/org/openbravo/service/db/DalBaseProcess.java
--- a/src/org/openbravo/service/db/DalBaseProcess.java Mon Feb 11 15:23:11
2013 +0100
+++ b/src/org/openbravo/service/db/DalBaseProcess.java Mon Feb 11 16:34:40
2013 +0100
@@ -73,10 +73,12 @@
OBContext.setOBContext(userId, roleId, clientId, orgId, lang);
doExecute(bundle);
+
} catch (Exception e) {
errorOccured = true;
log.error("The process " + bundle.getProcessClass().getName() + " has
thrown an exception. ",
e);
+ throw new Exception(e.getMessage());
} finally {
if (errorOccured) {
if (bundle.getCloseConnection()) {
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits