forked from NHERI-SimCenter/pelicun
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add logging of uncaught exceptions to Logger class
- Modified Logger to capture uncaught exceptions and log traceback using `sys.excepthook`. - Added `log_exception` method to handle uncaught exceptions. - Updated test suite to verify exception logging using subprocess.
- Loading branch information
1 parent
d36706a
commit 2e8da31
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters