diff --git a/owrx/reporting/mqtt.py b/owrx/reporting/mqtt.py index 1d21e17e..16ca75b0 100644 --- a/owrx/reporting/mqtt.py +++ b/owrx/reporting/mqtt.py @@ -43,8 +43,8 @@ class MqttReporter(Reporter): try: client.connect(host=host, port=port) - except Exception as e: - logger.debug("Exception connecting: " + str(e)) + except: + logger.exception("Exception connecting to MQTT server") threading.Thread(target=client.loop_forever).start()