message attr is deprecate on BaseException
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Thu, 06 Mar 2014 18:07:42 +0100
changeset 1074 94d3d8f5eb9d
parent 1073 5285e22389ab
child 1075 9b0e09c0990f
message attr is deprecate on BaseException
script/stream/recorder_stream.py
--- a/script/stream/recorder_stream.py	Thu Mar 06 17:07:29 2014 +0100
+++ b/script/stream/recorder_stream.py	Thu Mar 06 18:07:42 2014 +0100
@@ -568,7 +568,7 @@
         outfile = StringIO.StringIO()
         try:
             traceback.print_exc(file=outfile)
-            stop_args = {'error': repr(e), 'message': getattr(e, 'message', ''), 'stacktrace':outfile.getvalue()}
+            stop_args = {'error': repr(e), 'message': repr(e), 'stacktrace':outfile.getvalue()}
         finally:
             outfile.close()
         raise