diff --git a/docling/cli/main.py b/docling/cli/main.py index ae275ea9..c6948338 100644 --- a/docling/cli/main.py +++ b/docling/cli/main.py @@ -262,6 +262,12 @@ def export_documents( else: _log.warning(f"Document {conv_res.input.file} failed to convert.") + if _log.isEnabledFor(logging.INFO): + for err in conv_res.errors: + _log.info( + f" [Failure Detail] Component: {err.component_type}, " + f"Module: {err.module_name}, Message: {err.error_message}" + ) failure_count += 1 _log.info(