Commit e5a6ddb03b0eba03d76dca08ede14cec071cee28

Authored by nordmif
Committed by Andrew Shvayka
1 parent 045c8e3a

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 is in incorrect format: " + payload);
  210 + log.error("Payload is in incorrect format: {}", payload);
211 211 throw new AdaptorException(ex);
212 212 }
213 213 }
... ...