Skip to content

Commit

Permalink
Merge pull request #12 from DrBenton/fix-pymessagebus-exceptions
Browse files Browse the repository at this point in the history
[internals] fix our base MessageBusError, which should inherit from Exception instead of BaseException
  • Loading branch information
olivierphi committed Sep 30, 2018
2 parents 7035922 + 6a06a4d commit 6172e0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setuptools.setup(
name="pymessagebus",
version="1.2.0",
version="1.2.1",
description="A simple implementation of the MessageBus / CommandBus pattern",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion src/pymessagebus/api.py
Original file line number Diff line number Diff line change
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 6172e0e

Please sign in to comment.