[mqtt] Add Topic Name for Incoming Payload Not Supported (#15872)
Signed-off-by: bill <git@billforsyth.net> Co-authored-by: Bill Forsyth <git@billforsyth.net>
This commit is contained in:
parent
50e1687472
commit
d0c70f88b3
|
@ -192,7 +192,7 @@ public class ChannelState implements MqttMessageSubscriber {
|
||||||
|
|
||||||
Command command = TypeParser.parseCommand(cachedValue.getSupportedCommandTypes(), strValue);
|
Command command = TypeParser.parseCommand(cachedValue.getSupportedCommandTypes(), strValue);
|
||||||
if (command == null) {
|
if (command == null) {
|
||||||
logger.warn("Incoming payload '{}' not supported by type '{}'", strValue,
|
logger.warn("Incoming payload '{}' on '{}' not supported by type '{}'", strValue, topic,
|
||||||
cachedValue.getClass().getSimpleName());
|
cachedValue.getClass().getSimpleName());
|
||||||
receivedOrTimeout();
|
receivedOrTimeout();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue