Skip to content
Snippets Groups Projects
Commit 1705ae3b authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'L2SS-253-Imrpove_log_exception_wrapper' into 'master'

L2SS-253: Simplify the log_exception wrapper

Closes L2SS-253

See merge request !55
parents 75f4f3a7 50dfcfcb
No related branches found
No related tags found
1 merge request!55L2SS-253: Simplify the log_exception wrapper
......@@ -64,7 +64,7 @@ def log_exceptions():
try:
return func(self, *args, **kwargs)
except Exception as e:
self.error_stream("Caught exception: %s: %s", e.__class__.__name__, e, exc_info=1)
self.error_stream("Unhandled exception: {}".format(e))
raise e
return inner
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment