diff options
| author | Scott <[email protected]> | 2022-01-07 11:14:29 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-07 11:14:29 -0800 |
| commit | e8671a716da868332d3ac1f66d4d2f7f8d33fc28 (patch) | |
| tree | b62a841528cfc3bc64963666143083fcdac7c975 /bootstrap.py | |
| parent | 5f75cf834725ac26b289cc5f157af0cb71cd5f0e (diff) | |
Make logging optionally remove global handlers added by (shitty) pip
modules. Make config optionally halt on unrecognized arguments.
Make profanity filter smarter.
Diffstat (limited to 'bootstrap.py')
| -rw-r--r-- | bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.py b/bootstrap.py index 03bb505..7ed8b40 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 import functools -import importlib import logging import os from inspect import stack @@ -55,6 +54,7 @@ args.add_argument( original_hook = sys.excepthook + def handle_uncaught_exception(exc_type, exc_value, exc_tb): """ Top-level exception handler for exceptions that make it past any exception |
