diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-06 13:20:51 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-06 13:20:51 +0200 |
commit | 53cec748dd575298de6cf3e47afe5736c61bfe21 (patch) | |
tree | c78eabc589c9046660ece91eaa0ecde438218344 | |
parent | 15c6d7ffee04ce477c8e71392f7c71482daabfce (diff) | |
download | abrt-53cec748dd575298de6cf3e47afe5736c61bfe21.tar.gz abrt-53cec748dd575298de6cf3e47afe5736c61bfe21.tar.xz abrt-53cec748dd575298de6cf3e47afe5736c61bfe21.zip |
PYHOOK: re-raise the exception, so the hook doesn't change the default behaviour.
-rw-r--r-- | src/Hooks/abrt_exception_handler.py.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in index 4643db60..148573d9 100644 --- a/src/Hooks/abrt_exception_handler.py.in +++ b/src/Hooks/abrt_exception_handler.py.in @@ -248,7 +248,7 @@ def handleMyException((etype, value, tb)): # add coredump saving write_dump(os.getpid(), tb_uuid, text) - sys.exit(__EXITCODE) + return sys.__excepthook__(etype, value, tb) def installExceptionHandler(debug = 1): """ |