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:
Jin Hai
2025-12-30 11:09:18 +08:00
committed by GitHub
parent 5402666b19
commit df3cbb9b9e
3 changed files with 24 additions and 22 deletions

View File

@ -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 = []