Commit f85db8fc authored by Wout De Nolf's avatar Wout De Nolf
Browse files

apply_async error handler only receives one argument

parent b382c6cd
Pipeline #54691 passed with stage
in 58 seconds
......@@ -170,8 +170,12 @@ class PythonActor(AbstractActor):
time.sleep(1)
self.errorHandler(inData, e)
else:
def errorHandler(e):
self.errorHandler(inData, e)
with self._postpone_end_thread(
self.triggerDownStreamActor, self.errorHandler
self.triggerDownStreamActor, errorHandler
) as (callback, errorCallback):
actorWrapper = ActorWrapper(self.name, module.run)
self.af = AsyncFactory(
......
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