Commit 506f1fdf authored by Stefan Behnel's avatar Stefan Behnel

Fix error reporting issue in gdb test.

parent 9f1330fc
...@@ -39,8 +39,8 @@ def print_on_call_decorator(func): ...@@ -39,8 +39,8 @@ def print_on_call_decorator(func):
try: try:
return func(self, *args, **kwargs) return func(self, *args, **kwargs)
except Exception as e: except Exception:
_debug("An exception occurred:", traceback.format_exc(e)) _debug("An exception occurred:", traceback.format_exc())
raise raise
return wrapper return wrapper
......
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