fix: replace console.log with logger for unknown topic warning
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -41,7 +41,7 @@ class nodeClass {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
console.log("Unknown topic: " + msg.topic);
|
this.source.logger.warn(`Unknown topic: ${msg.topic}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (done) {
|
if (done) {
|
||||||
|
|||||||
Reference in New Issue
Block a user