[mqtt] add additional details in ChannelStateTransformation logging (#16782)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
jimtng 2024-05-21 16:47:40 -04:00 committed by Ciprian Pascu
parent d5929ea778
commit 5085c8d711

View File

@ -90,7 +90,8 @@ public class ChannelStateTransformation {
try {
returnValue = transformationService.transform(pattern, value);
} catch (TransformationException e) {
logger.warn("Executing the {}-transformation failed: {}", serviceName, e.getMessage());
logger.warn("Executing the {}-transformation failed: {}. Pattern: '{}'. Value: '{}'", serviceName,
e.getMessage(), pattern, value);
}
return returnValue;
}