Skip to content

Python tool for converting files and office documents to Markdown.

Exceptions should subclass Exception not BaseException. (#1082)

afourneyf01c6c52774b
diff --git a/packages/markitdown/src/markitdown/_exceptions.py b/packages/markitdown/src/markitdown/_exceptions.py
index 50d24962..4f443b2c 100644
--- a/packages/markitdown/src/markitdown/_exceptions.py
+++ b/packages/markitdown/src/markitdown/_exceptions.py
@@ -1,7 +1,7 @@
from typing import Optional, List, Any
-class MarkItDownException(BaseException):
+class MarkItDownException(Exception):
"""
Base exception class for MarkItDown.
"""