From b34674aa102cc95541db1a4f819931853ef8cf23 Mon Sep 17 00:00:00 2001 From: zesun96 Date: Fri, 12 Jul 2024 15:23:05 +0800 Subject: [PATCH] Fix wording in CryptorError debug log (#1189) * very small error prompts log modified on encryption failure * Create cuddly-bees-burn.md --------- Co-authored-by: lukasIO --- .changeset/cuddly-bees-burn.md | 5 +++++ src/e2ee/worker/FrameCryptor.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/cuddly-bees-burn.md diff --git a/.changeset/cuddly-bees-burn.md b/.changeset/cuddly-bees-burn.md new file mode 100644 index 0000000000..b97e57c7cd --- /dev/null +++ b/.changeset/cuddly-bees-burn.md @@ -0,0 +1,5 @@ +--- +"livekit-client": patch +--- + +Fix wording in CryptorError debug log diff --git a/src/e2ee/worker/FrameCryptor.ts b/src/e2ee/worker/FrameCryptor.ts index bc2d407621..507050ebde 100644 --- a/src/e2ee/worker/FrameCryptor.ts +++ b/src/e2ee/worker/FrameCryptor.ts @@ -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(