From b6797b02f33f93f7bc4f04cad0661b8dfdfb87a3 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Thu, 23 May 2024 22:05:42 -0400 Subject: [PATCH] Logging errors if MQTT fails to connect. --- owrx/reporting/mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/reporting/mqtt.py b/owrx/reporting/mqtt.py index 28550f99..4d860a46 100644 --- a/owrx/reporting/mqtt.py +++ b/owrx/reporting/mqtt.py @@ -44,7 +44,7 @@ class MqttReporter(Reporter): try: client.connect(host=host, port=port) except Exception as e: - logger.debug("Exception connecting: " + str(e)) + logger.error("Exception connecting: " + str(e)) threading.Thread(target=client.loop_forever).start()