Added debug for mqtt message as well

This commit is contained in:
Marius Ciotlos authored and Koenkk committed 2018-06-14 20:11:08 +02:00
1 parent 7fe9d6731a
commit 4cb98b6257
1 file changed
+1 -1
+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);