Skip to content

Commit c609f4c

Browse files
committed
Print the error, but continue anyways
1 parent fff7779 commit c609f4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_funhouse/network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def mqtt_loop(self):
110110
try:
111111
if self._mqtt_client is not None:
112112
self._mqtt_client.loop()
113-
except MQTT.MMQTTException:
114-
pass
113+
except MQTT.MMQTTException as err:
114+
print("MMQTTException: {0}".format(err))
115115

116116
@property
117117
def on_mqtt_connect(self):

0 commit comments

Comments
 (0)