Commit 4776ccd4 authored by Magnus Knutas's avatar Magnus Knutas
Browse files

With traceback

parent 5aa58935
Pipeline #16358 passed with stages
in 23 seconds
......@@ -2,6 +2,8 @@
import logging
import traceback
import paho.mqtt.client as mqtt
......@@ -131,5 +133,6 @@ class Publisher():
raise MQTTException("Can't connect too mqtt")
except Exception as e: # pylint: disable=broad-except
LOGGER.exception("MQTT DEAD! %s", e)
"MQTT DEAD! %s: %s", e, traceback.format_exc())
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