Commit 4b5f59c2 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Convert the msg to a string before putting in the queue (otherwise the

exception object is serialized in order to be sent to the master process)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@46024 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f95f56f0
......@@ -145,7 +145,7 @@ class BenchmarkProcess(multiprocessing.Process):
self._logger.error(e)
except BaseException, e:
exit_msg = e
exit_msg = str(e)
exit_status = 1
self._exit_msg_queue.put(exit_msg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment