Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(core): do not print warning on failed decryption of message 0 #1303

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core/ts/Poll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,8 @@ export class Poll implements IPoll {
// otherwise we continue processing but add the default blank data instead of
// this invalid message
if (e instanceof ProcessMessageError) {
// if logging is enabled, print the error
if (!quiet) {
// if logging is enabled, and it's not the first message, print the error
if (!quiet && idx !== 0) {
// eslint-disable-next-line no-console
console.log(`Error at message index ${idx} - ${e.message}`);
}
Expand Down
Loading