新增文集PDF导出异常日志记录

This commit is contained in:
yangjian 2021-02-28 08:31:45 +08:00
parent 50bf6de540
commit 9ca93dfb4a

View File

@ -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):