Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrokerException inherits BaseException and is not caught by except Exception: #247

Open
EternityForest opened this issue Apr 30, 2022 · 1 comment

Comments

@EternityForest
Copy link

As per https://peps.python.org/pep-0352/ shouldn't this use Exception?

@FlorianLudwig
Copy link
Contributor

FlorianLudwig commented May 2, 2022

This is fixed in amqtt: https://github.com/Yakifo/amqtt/blob/v0.10.x/amqtt/broker.py#L46

The 0.10.x releases are a drop in replacement for hbmqtt. Let me know if it works for you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants