fix: Do not log unknown commands. (#14153)

Events such as "mouse-move", "mouse-leave" and "face-landmark-detected"
reach this code and pollute the logs. It's probably worth investigating
why this is the case and fixing it if necessary, but for now just remove
the log message.
This commit is contained in:
bgrozev
2023-12-13 12:04:48 -06:00
committed by GitHub
parent d094ac0034
commit d9599d31f1

View File

@@ -835,8 +835,6 @@ function initCommands() {
return true;
}
logger.warn(`Unknown API command received: ${name}`);
return false;
});
transport.on('request', (request, callback) => {