From 7cf8ef42d1b2364018c78a8935814dc3d9904b63 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Mon, 1 Sep 2014 21:07:53 +0700 Subject: [PATCH] Don't pass "args" into logging call. --- rq/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/worker.py b/rq/worker.py index acecd42..f800b28 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -528,7 +528,7 @@ class Worker(object): traceback.format_exception(*exc_info)) self.log.error(exc_string, exc_info=True, extra={ 'func': job.func_name, - 'args': job.args, + 'arguments': job.args, 'kwargs': job.kwargs, 'queue': job.origin, })