From 78b330337c11e348023b620ab07fe884994626b4 Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Tue, 27 Jun 2023 22:09:29 +0200
Subject: [PATCH] apply pr suggestions, part 3
---
src/characters/cbd-recipient.ts | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/characters/cbd-recipient.ts b/src/characters/cbd-recipient.ts
index 8a97e2eda..cef8d360c 100644
--- a/src/characters/cbd-recipient.ts
+++ b/src/characters/cbd-recipient.ts
@@ -98,7 +98,9 @@ export class CbdTDecDecrypter {
);
if (Object.keys(encryptedResponses).length < this.threshold) {
throw new Error(
- `CBD decryption failed with errors: ${JSON.stringify(errors)}`
+ `Threshold of responses not met; CBD decryption failed with errors: ${JSON.stringify(
+ errors
+ )}`
);
}