[Erp5-report] r46006 arnaud.fontaine - /erp5/trunk/utils/erp5.utils.benchmark/src/erp5/util...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Aug 29 11:20:54 CEST 2011
Author: arnaud.fontaine
Date: Mon Aug 29 11:20:53 2011
New Revision: 46006
URL: http://svn.erp5.org?rev=46006&view=rev
Log:
Display exception error in the log file as well
Modified:
erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/benchmark.py
Modified: erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/benchmark.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/benchmark.py?rev=46006&r1=46005&r2=46006&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/benchmark.py [utf8] (original)
+++ erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/benchmark.py [utf8] Mon Aug 29 11:20:53 2011
@@ -483,9 +483,12 @@ class BenchmarkProcess(multiprocessing.P
exit_msg = str(e)
exit_status = 1
- except Exception, e:
+ except BaseException, e:
exit_msg = e
exit_status = 2
+ if exit_msg:
+ self._logger.error(exit_msg)
+
self._exit_msg_queue.put(exit_msg)
sys.exit(exit_status)
More information about the Erp5-report
mailing list