From e815a4227b5ce456ffbe94d7c96840b35885a3ac Mon Sep 17 00:00:00 2001 From: Adam Fourney Date: Fri, 28 Feb 2025 16:26:56 -0800 Subject: [PATCH] Exceptions should subclass Exception not BaseException. --- packages/markitdown/src/markitdown/_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/markitdown/src/markitdown/_exceptions.py b/packages/markitdown/src/markitdown/_exceptions.py index 50d2496..4f443b2 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. """