Fix logging of unsupported cid. #199

This commit is contained in:
Koenkk
2018-07-18 22:30:51 +02:00
parent 49878e093d
commit 04d7a87765
+2 -2
View File
@@ -283,12 +283,12 @@ class Controller {
if (cid) {
logger.warn(
`No converter available for '${mappedModel.model}' with cid '${cid}', ` +
`type '${message.type}' and message '${JSON.stringify(message)}'`
`type '${message.type}' and data '${JSON.stringify(message.data)}'`
);
} else if (cmdId) {
logger.warn(
`No converter available for '${mappedModel.model}' with cmd '${cmdId}' ` +
`and message '${JSON.stringify(message)}'`
`and data '${JSON.stringify(message.data)}'`
);
}