mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-31 01:01:30 +08:00
Refactor code (#12305)
### What problem does this PR solve? as title ### Type of change - [x] Refactoring --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@ -1061,8 +1061,8 @@ class RAGFlowPdfParser:
|
||||
|
||||
self.total_page = len(self.pdf.pages)
|
||||
|
||||
except Exception:
|
||||
logging.exception("RAGFlowPdfParser __images__")
|
||||
except Exception as e:
|
||||
logging.exception(f"RAGFlowPdfParser __images__, exception: {e}")
|
||||
logging.info(f"__images__ dedupe_chars cost {timer() - start}s")
|
||||
|
||||
self.outlines = []
|
||||
|
||||
Reference in New Issue
Block a user