소스 검색

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}})