Ahem. Oops. Again. Should probably stop to debug with print
This commit is contained in:
parent
5910d8574b
commit
50de381033
|
@ -321,7 +321,6 @@ class FIFOKernel(BaseKernel):
|
||||||
except (Exception, KeyboardInterrupt) as err:
|
except (Exception, KeyboardInterrupt) as err:
|
||||||
# Any other exception is caught here
|
# Any other exception is caught here
|
||||||
task = task or self.current_task
|
task = task or self.current_task
|
||||||
print(repr(err), task, __import__("inspect").stack()[1].function)
|
|
||||||
task.exc = err
|
task.exc = err
|
||||||
err.scope = task.pool.scope
|
err.scope = task.pool.scope
|
||||||
task.state = TaskState.CRASHED
|
task.state = TaskState.CRASHED
|
||||||
|
|
Loading…
Reference in New Issue