Skip to content

Commit

Permalink
Fix typo and improve keyring error message (#293)
Browse files Browse the repository at this point in the history
- typo fix `keyring-backend` instead of `keyring_backend`
- reworded the error message
  • Loading branch information
calvinrp authored May 17, 2024
1 parent 7af22ec commit d6f1a26
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/client/src/keyring/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ impl std::fmt::Display for KeyringError {
{
write!(
f,
concat!(" Since you are using the 'secret-service' backend, ",
"the likely cause of this error is that no secret service ",
"implementation, such as GNOME Keyring or KWallet, is installed, ",
"or one is installed but not correctly configured. Consult your OS ",
"distribution's documentation for instructions on setting it up, or run ",
"`warg config --keyring_backend <backend>` to use a different backend.")
"\nThe 'secret-service' keyring backend failed.
You may not have a secret service, such as GNOME Keyring or KWallet, installed or configured.
Consult your OS distribution's documentation for installation instructions.
Alternatively, use `warg config --keyring-backend <backend>` to set a different keyring backend.
See `warg config --help` for the options."
)?;
}

Expand Down

0 comments on commit d6f1a26

Please sign in to comment.