Don't pass "args" into logging call.

main
Selwin Ong 10 years ago
parent 7ea076e8c8
commit 7cf8ef42d1

@ -528,7 +528,7 @@ class Worker(object):
traceback.format_exception(*exc_info)) traceback.format_exception(*exc_info))
self.log.error(exc_string, exc_info=True, extra={ self.log.error(exc_string, exc_info=True, extra={
'func': job.func_name, 'func': job.func_name,
'args': job.args, 'arguments': job.args,
'kwargs': job.kwargs, 'kwargs': job.kwargs,
'queue': job.origin, 'queue': job.origin,
}) })

Loading…
Cancel
Save