Skip to content

Commit

Permalink
Fix wording in CryptorError debug log (#1189)
Browse files Browse the repository at this point in the history
* very small error prompts log modified on encryption failure

* Create cuddly-bees-burn.md

---------

Co-authored-by: lukasIO <[email protected]>
  • Loading branch information
zesun96 and lukasIO authored Jul 12, 2024
1 parent f33a6ad commit b34674a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cuddly-bees-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"livekit-client": patch
---

Fix wording in CryptorError debug log
2 changes: 1 addition & 1 deletion src/e2ee/worker/FrameCryptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export class FrameCryptor extends BaseFrameCryptor {
workerLogger.error(e);
}
} else {
workerLogger.debug('failed to decrypt, emitting error', this.logContext);
workerLogger.debug('failed to encrypt, emitting error', this.logContext);
this.emit(
CryptorEvent.Error,
new CryptorError(
Expand Down

0 comments on commit b34674a

Please sign in to comment.