diff --git a/opcua2mqtt/MqttPublish.py b/opcua2mqtt/MqttPublish.py index da4b46d..3df8211 100644 --- a/opcua2mqtt/MqttPublish.py +++ b/opcua2mqtt/MqttPublish.py @@ -27,4 +27,6 @@ class MqttPublish(AbstractMqttPublisher): if self.killBill: logger.error("killbill received") break + except Exception as e: + logger.error(f"Exception {type(e)} received in MQTT local loop: {e}")