Skip to content

Commit 208f324

Browse files
committed
modify function catch_any_exception
1 parent 868987e commit 208f324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydumpling/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ def _hook(exc_type, exc_value, exc_tb):
2121
save_dumping(exc_info=(exc_type, exc_value, exc_tb))
2222
original_hook(exc_type, exc_value, exc_tb) # call sys original hook
2323

24-
sys.excepthook = original_hook
24+
sys.excepthook = _hook

0 commit comments

Comments
 (0)