新增文集PDF导出异常日志记录
This commit is contained in:
parent
50bf6de540
commit
9ca93dfb4a
@ -772,7 +772,7 @@ class ReportPDF():
|
|||||||
try:
|
try:
|
||||||
convert(temp_file_path,report_file_path)
|
convert(temp_file_path,report_file_path)
|
||||||
except:
|
except:
|
||||||
logger.error("生成PDF出错")
|
logger.exception("生成PDF出错")
|
||||||
return False
|
return False
|
||||||
# 处理PDF文件
|
# 处理PDF文件
|
||||||
if os.path.exists(report_file_path):
|
if os.path.exists(report_file_path):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user