Commit b41917b5 authored by Magnus Knutas's avatar Magnus Knutas
Browse files

Exception logging

parent 4776ccd4
Pipeline #16361 passed with stages
in 22 seconds
......@@ -2,7 +2,6 @@
import logging
import traceback
import paho.mqtt.client as mqtt
......@@ -134,5 +133,5 @@ class Publisher():
raise MQTTException("Can't connect too mqtt")
except Exception as e: # pylint: disable=broad-except
"MQTT DEAD! %s: %s", e, traceback.format_exc())
"MQTT DEAD!", e)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment