* [MQTT] Add additional logging information
Add additional logging information when command is not supported by type.
Signed-off-by: Lukas Agethen <lukas83@gmx.de>
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;
}