chore(keystore): verbose error message when credential is not found (#2943)

This commit is contained in:
Aaryamann Challani 2024-08-07 15:27:03 +05:30 committed by GitHub
parent 42f1bed04c
commit 0f11ee1422
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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]