Commit c0806b2e authored by zhougaofeng's avatar zhougaofeng
Browse files

Update common_parse.py

parent d528b515
......@@ -46,7 +46,7 @@ def process_file(file_path, pdf_ocr, excel_ocr, output_dir,config_path):
if res:
logger.info(f"文件处理成功,输出文件路径为: '{res}'")
else:
logger.warning(f"文件处理结果为空: '{file_path}'")
logger.warning(f"文件处理结果失败: '{file_path}'")
except requests.exceptions.RequestException as req_err:
logger.error(f"请求错误,文件: '{file_path}',错误信息: {req_err}")
except Exception as err:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment