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:
Rene De Ren
2026-03-12 09:33:31 +01:00
parent a369361d99
commit fdfb9edf0d

View File

@@ -41,7 +41,7 @@ class nodeClass {
break;
}
default:
console.log("Unknown topic: " + msg.topic);
this.source.logger.warn(`Unknown topic: ${msg.topic}`);
}
if (done) {