1 parent 5185df7 commit 0de1a37Copy full SHA for 0de1a37
1 file changed
src/schedule.py
@@ -39,7 +39,6 @@
39
import heapq
40
import functools
41
from threading import Lock
42
-import traceback
43
44
from . import drivers, log, world
45
@@ -119,7 +118,7 @@ def wrapper():
119
118
try:
120
f(*args, **kwargs)
121
except Exception:
122
- traceback.print_exc()
+ log.exception('Uncaught exception in scheduled function:')
123
# Even if it raises an exception, let's schedule it.
124
if count is not None:
125
count -= 1
0 commit comments