Skip to content

Commit

Permalink
chore(keystore): verbose error message when credential is not found (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc authored Aug 7, 2024
1 parent 42f1bed commit 0f11ee1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion waku/waku_keystore/keystore.nim
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ proc getMembershipCredentials*(
return err(
AppKeystoreError(
kind: KeystoreCredentialNotFoundError,
msg: "Credential not found in keystore",
msg:
"Credential not found in keystore. There are multiple credentials in this keystore, please check if you have used the correct parameters.",
)
)
keystoreCredential = keystoreCredentials[key]
Expand Down

0 comments on commit 0f11ee1

Please sign in to comment.