diff options
| author | Scott <[email protected]> | 2022-01-12 09:06:29 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-12 09:06:29 -0800 |
| commit | 55a3172e37855f388b9ba0dfc91641a6c9ad1376 (patch) | |
| tree | 01285a4abb59103ec437375d1133f9d00caa1497 /decorator_utils.py | |
| parent | ffc4022c1ea2c2a5892150ff55e6c9a9ddbb8756 (diff) | |
Scale back warnings.warn and add stacklevels= where appropriate.
Diffstat (limited to 'decorator_utils.py')
| -rw-r--r-- | decorator_utils.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/decorator_utils.py b/decorator_utils.py index 07ad881..752fb91 100644 --- a/decorator_utils.py +++ b/decorator_utils.py @@ -508,7 +508,6 @@ def thunkify(func): exc[1] = sys.exc_info() # (type, value, traceback) msg = f"Thunkify has thrown an exception (will be raised on thunk()):\n{traceback.format_exc()}" logger.warning(msg) - warnings.warn(msg) finally: wait_event.set() |
