Skip to content

Commit

Permalink
fix: Do not log unknown commands.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bgrozev committed Dec 13, 2023
1 parent d094ac0 commit 3a2d8b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/API/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -835,8 +835,6 @@ function initCommands() {
return true;
}

logger.warn(`Unknown API command received: ${name}`);

return false;
});
transport.on('request', (request, callback) => {
Expand Down

0 comments on commit 3a2d8b9

Please sign in to comment.