summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scheduling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheduling.py b/scheduling.py
index 34078f2..e809b33 100644
--- a/scheduling.py
+++ b/scheduling.py
@@ -119,7 +119,7 @@ class Task:
self.exception = exc
logging.debug('Uncaught exception in task %r', self.name,
exc_info=True, stack_info=True)
- except BaseException:
+ except BaseException as exc:
self.alive = False
self.exception = exc
raise