Skip to content

chore: update Node to v22 LTS and replace console.log with console.error in catch blocks#1187

Open
Aryan-Verma-999 wants to merge 1 commit intoRocketChat:developfrom
Aryan-Verma-999:chore/modernize-error-handling-and-node-version
Open

chore: update Node to v22 LTS and replace console.log with console.error in catch blocks#1187
Aryan-Verma-999 wants to merge 1 commit intoRocketChat:developfrom
Aryan-Verma-999:chore/modernize-error-handling-and-node-version

Conversation

@Aryan-Verma-999
Copy link

@Aryan-Verma-999 Aryan-Verma-999 commented Mar 5, 2026

  • Update .nvmrc from EOL Node v16 to current LTS v22
  • Replace console.log with console.error in all catch blocks across EmbeddedChatApi.ts and AudioMessageRecorder.js, errors were being logged at info level, making them invisible in error-filtered monitoring
    Part of the ongoing modernization effort to align EmbeddedChat with current tooling standards.

PR Test Details
Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-1187 after approval. Contributors are requested to replace <pr_number> with the actual PR number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant