diff --git a/debug-viewer/GstDebugViewer/Common/Main.py b/debug-viewer/GstDebugViewer/Common/Main.py index 7f4f6132a9..3d6c6f780a 100644 --- a/debug-viewer/GstDebugViewer/Common/Main.py +++ b/debug-viewer/GstDebugViewer/Common/Main.py @@ -109,7 +109,7 @@ class MainLoopWrapper (ExceptionHandler): if self.exc_info != (None,) * 3: # Re-raise unhandled exception that occured while running the loop. exc_type, exc_value, exc_tb = self.exc_info - raise exc_type(exc_value).with_traceback(exc_tb) + raise exc_value class ExceptHookManagerClass (object):