mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 15:02:21 +00:00
returned try-catch on tables handling
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
parent
9569214afb
commit
d8b4c07173
@ -141,10 +141,10 @@ class MsWordDocumentBackend(DeclarativeDocumentBackend):
|
||||
|
||||
# Check for Tables
|
||||
if element.tag.endswith("tbl"):
|
||||
# try:
|
||||
self.handle_tables(element, docx_obj, doc)
|
||||
# except Exception:
|
||||
# _log.debug("could not parse a table, broken docx table")
|
||||
try:
|
||||
self.handle_tables(element, docx_obj, doc)
|
||||
except Exception:
|
||||
_log.debug("could not parse a table, broken docx table")
|
||||
|
||||
elif found_drawing or found_pict:
|
||||
self.handle_pictures(element, docx_obj, doc)
|
||||
|
Loading…
Reference in New Issue
Block a user