hbmqtt
hbmqtt copied to clipboard
BrokerException inherits BaseException and is not caught by except Exception:
As per https://peps.python.org/pep-0352/ shouldn't this use Exception?
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 :)