njouanin / hbmqtt

MQTT client/broker using Python asynchronous I/O

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BrokerException inherits BaseException and is not caught by except Exception:

EternityForest opened this issue · comments

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 :)