mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-02 10:13:51 +00:00
debug-viewer: Fix raising unhandled exception
Old code was uselessly complex
This commit is contained in:
parent
52d1461bce
commit
48c7ccdc94
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class MainLoopWrapper (ExceptionHandler):
|
||||||
if self.exc_info != (None,) * 3:
|
if self.exc_info != (None,) * 3:
|
||||||
# Re-raise unhandled exception that occured while running the loop.
|
# Re-raise unhandled exception that occured while running the loop.
|
||||||
exc_type, exc_value, exc_tb = self.exc_info
|
exc_type, exc_value, exc_tb = self.exc_info
|
||||||
raise exc_type(exc_value).with_traceback(exc_tb)
|
raise exc_value
|
||||||
|
|
||||||
|
|
||||||
class ExceptHookManagerClass (object):
|
class ExceptHookManagerClass (object):
|
||||||
|
|
Loading…
Reference in a new issue