Commit 367409b4 authored by Cyril Monmouton's avatar Cyril Monmouton
Browse files

Dask-Process/Enh: remove access to exceptions values by key, sometime,...

Dask-Process/Enh: remove access to exceptions values by key, sometime, exceptions tab can be None, so it raises exception
parent 824efe20
Pipeline #50107 failed with stage
in 2 minutes and 38 seconds
......@@ -69,8 +69,7 @@ class DefaultWorkerPlugin(WorkerPlugin):
def transition(self, key, start, finish, *args, **kwargs):
if finish == 'error':
exc = self.worker.exceptions[key]
getLogger().exception("Task '%s' has failed with exception: %s" % (key, str(exc)))
getLogger().exception(f"DefaultWorkerPlugin: Task '{key}' has failed")
class DaskBulkStorage:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment