parent
c08437ec42
commit
cc74dcbe7f
|
|
@ -43,8 +43,8 @@ class MqttReporter(Reporter):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
client.connect(host=host, port=port)
|
client.connect(host=host, port=port)
|
||||||
except Exception as e:
|
except:
|
||||||
logger.debug("Exception connecting: " + str(e))
|
logger.exception("Exception connecting to MQTT server")
|
||||||
|
|
||||||
threading.Thread(target=client.loop_forever).start()
|
threading.Thread(target=client.loop_forever).start()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue