added logging of MQTT payload errors
This commit is contained in:
parent
b445473e3c
commit
045c8e3aca
@ -207,7 +207,7 @@ public class JsonMqttAdaptor implements MqttTransportAdaptor {
|
||||
try {
|
||||
return new JsonParser().parse(payload);
|
||||
} catch (JsonSyntaxException ex) {
|
||||
log.error(payload);
|
||||
log.error("Payload is in incorrect format: " + payload);
|
||||
throw new AdaptorException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user