Skip to content

Commit

Permalink
fix(mqtt): Log on command-less custom command json
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Mar 8, 2021
1 parent 4512fe0 commit 3fa8232
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mqtt/MqttClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,8 @@ class MqttClient {
} catch (err) {
Logger.error("MQTT handle custom command " + msg.command + " failed:", err);
}
} else {
Logger.warn("Received custom command JSON without command", msg);
}
}

Expand Down

0 comments on commit 3fa8232

Please sign in to comment.