Browse Source

Properly pass traceback object to handlers instead of str representation

Adam DePue 12 years ago
parent
commit
0ad5a162d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/task/trace.py

+ 1 - 1
celery/task/trace.py

@@ -120,7 +120,7 @@ class TraceInfo(object):
             signals.task_failure.send(sender=task, task_id=req.id,
                                       exception=exc, args=req.args,
                                       kwargs=req.kwargs,
-                                      traceback=einfo.traceback,
+                                      traceback=einfo.tb,
                                       einfo=einfo)
             return einfo
         finally: