소스 검색

the call to the Django model is passing traceback=None rather than
traceback=traceback. Thanks Aaron Ross

Ask Solem 15 년 전
부모
커밋
71a1af1e5b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/backends/database.py

+ 1 - 1
celery/backends/database.py

@@ -37,7 +37,7 @@ class Backend(BaseBackend):
         elif status == "FAILURE":
             result = self.prepare_exception(result)
         TaskMeta.objects.store_result(task_id, result, status,
-                                      traceback=None)
+                                      traceback=traceback)
         return result
 
     def is_done(self, task_id):