From 6c46cc98de2f906d82970c8e1ce32a81f44c9a14 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 18 Sep 2020 12:12:52 +0200 Subject: [PATCH] be more specific in error message --- src/matrix/ssss/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/ssss/index.js b/src/matrix/ssss/index.js index cc1469e3..286744fc 100644 --- a/src/matrix/ssss/index.js +++ b/src/matrix/ssss/index.js @@ -50,7 +50,7 @@ export async function readKey(txn) { export async function keyFromCredential(type, credential, storage, cryptoDriver, olm) { const keyDescription = await readDefaultKeyDescription(storage); if (!keyDescription) { - throw new Error("Could not find any secret storage key in account data"); + throw new Error("Could not find a default secret storage key in account data"); } let key; if (type === "passphrase") {