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 6748142f29
commit b839b1c81f

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]