Commit 045c8e3acaaaa38f61bb75c1997ac1c112e0db55

Authored by nordmif
Committed by Andrew Shvayka
1 parent b445473e

added logging of MQTT payload errors

... ... @@ -207,7 +207,7 @@ public class JsonMqttAdaptor implements MqttTransportAdaptor {
207 207 try {
208 208 return new JsonParser().parse(payload);
209 209 } catch (JsonSyntaxException ex) {
210   - log.error(payload);
  210 + log.error("Payload is in incorrect format: " + payload);
211 211 throw new AdaptorException(ex);
212 212 }
213 213 }
... ...