瀏覽代碼

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,
                        self.error_msg.strip() % context,
-                       exc_info=exc_info,
+                       #exc_info=exc_info,
                        extra={"data": {"hostname": self.hostname,
                                        "id": self.task_id,
                                        "name": self.task_name}})