From f01c6c52774ba284cf29796f44c62ad786030b7c Mon Sep 17 00:00:00 2001 From: afourney Date: Fri, 28 Feb 2025 16:28:35 -0800 Subject: [PATCH] Exceptions should subclass Exception not BaseException. (#1082) --- 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. """