From 9ca93dfb4a8d0d8128fbbf221612771a7b4eaf76 Mon Sep 17 00:00:00 2001 From: yangjian Date: Sun, 28 Feb 2021 08:31:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=96=87=E9=9B=86PDF?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E5=BC=82=E5=B8=B8=E6=97=A5=E5=BF=97=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_doc/report_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_doc/report_utils.py b/app_doc/report_utils.py index 57febd6..05762b3 100644 --- a/app_doc/report_utils.py +++ b/app_doc/report_utils.py @@ -772,7 +772,7 @@ class ReportPDF(): try: convert(temp_file_path,report_file_path) except: - logger.error("生成PDF出错") + logger.exception("生成PDF出错") return False # 处理PDF文件 if os.path.exists(report_file_path):