Browse Source

Send exc_info along in job failures

David Cramer 14 years ago
parent
commit
00600a2ee1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      celery/worker/job.py

+ 1 - 0
celery/worker/job.py

@@ -493,6 +493,7 @@ class TaskRequest(object):
 
         log_with_extra(self.logger, logging.ERROR,
                        self.error_msg.strip() % context,
+                       exc_info=exc_info,
                        extra={"data": {"hostname": self.hostname,
                                        "id": self.task_id,
                                        "name": self.task_name}})