Skip to content

Commit

Permalink
Merge pull request #67 from myhloli/master
Browse files Browse the repository at this point in the history
change parse_union_pdf error output
  • Loading branch information
myhloli authored Apr 25, 2024
2 parents f3ad1ca + 7f0874d commit bfb2268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magic_pdf/user_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def parse_pdf(method):
debug_mode=is_debug,
)
except Exception as e:
logger.error(f"{method.__name__} error: {e}")
logger.exception(e)
return None

pdf_info_dict = parse_pdf(parse_pdf_by_txt)
Expand Down

0 comments on commit bfb2268

Please sign in to comment.