[MQTT] Add additional logging information (#11849)
* [MQTT] Add additional logging information Add additional logging information when command is not supported by type. Signed-off-by: Lukas Agethen <lukas83@gmx.de>
This commit is contained in:
parent
e087bac902
commit
9b70cf0be4
|
@ -191,8 +191,8 @@ public class ChannelState implements MqttMessageSubscriber {
|
|||
try {
|
||||
cachedValue.update(command);
|
||||
} catch (IllegalArgumentException | IllegalStateException e) {
|
||||
logger.warn("Command '{}' not supported by type '{}': {}", strValue, cachedValue.getClass().getSimpleName(),
|
||||
e.getMessage());
|
||||
logger.warn("Command '{}' from channel '{}' not supported by type '{}': {}", strValue, channelUID,
|
||||
cachedValue.getClass().getSimpleName(), e.getMessage());
|
||||
receivedOrTimeout();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue