forked from mirror/MrDoc
新增文集PDF导出异常日志记录
This commit is contained in:
parent
50bf6de540
commit
9ca93dfb4a
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user