mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
Update mqtt.py
Changed to logger.exception()
This commit is contained in:
parent
c08437ec42
commit
cc74dcbe7f
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue