From 1070a259c9ead762e5ba84c8c406c78f1c6619fe Mon Sep 17 00:00:00 2001 From: Olivier Philippon Date: Sun, 30 Sep 2018 14:39:03 +0100 Subject: [PATCH] [internals] fix our base MessageBusError, which should inherit from Exception instead of BaseException --- src/pymessagebus/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pymessagebus/api.py b/src/pymessagebus/api.py index 9327202..b351508 100644 --- a/src/pymessagebus/api.py +++ b/src/pymessagebus/api.py @@ -33,7 +33,7 @@ def has_handler_for(self, message_class: type) -> bool: pass -class MessageBusError(BaseException, ABC): +class MessageBusError(Exception, ABC): pass