mirror of https://github.com/waku-org/nwaku.git
chore(keystore): verbose error message when credential is not found (#2943)
This commit is contained in:
parent
42f1bed04c
commit
0f11ee1422
|
@ -218,7 +218,8 @@ proc getMembershipCredentials*(
|
||||||
return err(
|
return err(
|
||||||
AppKeystoreError(
|
AppKeystoreError(
|
||||||
kind: KeystoreCredentialNotFoundError,
|
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]
|
keystoreCredential = keystoreCredentials[key]
|
||||||
|
|
Loading…
Reference in New Issue