Python tool for converting files and office documents to Markdown.
fix: correct f-string formatting in FileConversionException (#1121)
yushihang75140a90e2f7
diff --git a/packages/markitdown/src/markitdown/_exceptions.py b/packages/markitdown/src/markitdown/_exceptions.pyindex 93f8f0e7..2f87ac8b 100644--- a/packages/markitdown/src/markitdown/_exceptions.py+++ b/packages/markitdown/src/markitdown/_exceptions.py@@ -69,7 +69,7 @@ class FileConversionException(MarkItDownException):message = f"File conversion failed after {len(attempts)} attempts:\n"for attempt in attempts:if attempt.exc_info is None:- message += " - {type(attempt.converter).__name__} provided no execution info."+ message += f" - {type(attempt.converter).__name__} provided no execution info."else:message += f" - {type(attempt.converter).__name__} threw {attempt.exc_info[0].__name__} with message: {attempt.exc_info[1]}\n"