Skip to content

Commit

Permalink
[internals] fix our base MessageBusError, which should inherit from E…
Browse files Browse the repository at this point in the history
…xception instead of BaseException
  • Loading branch information
olivierphi committed Sep 30, 2018
1 parent 7035922 commit 1070a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymessagebus/api.py
Expand Up @@ -33,7 +33,7 @@ def has_handler_for(self, message_class: type) -> bool:
pass


class MessageBusError(BaseException, ABC):
class MessageBusError(Exception, ABC):
pass


Expand Down

0 comments on commit 1070a25

Please sign in to comment.