Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message for keyring check #3

Open
mdlavallee92 opened this issue Jul 7, 2023 · 0 comments
Open

Better error message for keyring check #3

mdlavallee92 opened this issue Jul 7, 2023 · 0 comments

Comments

@mdlavallee92
Copy link
Collaborator

If keyring not set then checkDatabaseCredential returns an unclear error.

Ulysses::checkDatabaseCredential(cred = "cred", db = "db", keyringName = "project")
#> ! Check that credential db_cred is correct.
#> Error in b_wincred_i_get(target): Windows credential store error in 'get': Element not found.

Created on 2023-07-07 with reprex v2.0.2

The error comes from keyring....add an error message that input does not exist and suggestion to load it using Ulysses::setCredential()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant