浏览代码

Merge branch 'mthurman/patch-2'

Ask Solem 13 年之前
父节点
当前提交
2ecda699a6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/worker/job.py

+ 1 - 1
celery/worker/job.py

@@ -355,7 +355,7 @@ class Request(object):
         if _does_info:
             info(self.retry_msg.strip(), {
                 "id": self.id, "name": self.name,
-                "exc": safe_repr(exc_info.exception.exc)}, exc_info=exc_info)
+                "exc": safe_repr(exc_info.exception.exc)}, exc_info=exc_info.exc_info)
 
     def on_failure(self, exc_info):
         """Handler called if the task raised an exception."""