Преглед на файлове

Send exc_info along in job failures

David Cramer преди 14 години
родител
ревизия
00600a2ee1
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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}})