Explorar el Código

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

Ask Solem hace 16 años
padre
commit
71a1af1e5b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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):