Commit ce901fd1 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

[entities] don't log "cannot deserialize task"

This usecase (sending a serialized task signature as result of a task)  is
exceptional, so avoid flooding the logs with such messages.
parent f094aff48e8d
......@@ -261,10 +261,8 @@ class CeleryTaskAdapter(ICeleryTask):
if isinstance(result, AsyncResult):
try:
rresult = from_serializable(result.result)
except:
CeleryTaskAdapter.info(
'Cannot deserialize task result %s: %s',
result, result.result)
except Exception:
pass
else:
for r in tree(rresult, seen):
yield r
......
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