فهرست منبع

Logging exc_info with unicode breaks

Ask Solem 14 سال پیش
والد
کامیت
a475ff03c8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      celery/worker/job.py

+ 1 - 1
celery/worker/job.py

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