Added debug for mqtt message as well

This commit is contained in:
Marius Ciotlos
2018-06-14 20:11:08 +02:00
committed by Koenkk
parent 7fe9d6731a
commit 4cb98b6257
+1 -1
View File
@@ -317,7 +317,7 @@ class Controller {
}
handleMQTTMessage(topic, message) {
logger.debug(`Incoming MQTT message '${topic}' '${message.toString()}'`);
logger.debug(`Recieved mqtt message on topic '${topic}' with data '${message}'`);
if (topic.match(mqttConfigRegex)) {
this.handleMQTTMessageConfig(topic, message);