diff --git a/app/mqtt/mqtt_client.py b/app/mqtt/mqtt_client.py index c2dff1d..a722fbe 100644 --- a/app/mqtt/mqtt_client.py +++ b/app/mqtt/mqtt_client.py @@ -51,7 +51,7 @@ class MqttClient: devices.create_recording( MqttClient.get_device_id(message.topic), json.loads(message.payload.decode())) - except ValueError: + except Exception: print("ERROR!") error_type, error_instance, traceback = sys.exc_info() print("Type: " + str(error_type))