From 2d710936087a0a41fc5f31bf2ab2c3dbe0a6e77f Mon Sep 17 00:00:00 2001 From: cloudhead Date: Thu, 4 Jan 2024 14:23:53 +0100 Subject: [PATCH] radicle: Small error message improvements --- radicle/src/profile.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle/src/profile.rs b/radicle/src/profile.rs index be731204..5120fc96 100644 --- a/radicle/src/profile.rs +++ b/radicle/src/profile.rs @@ -139,11 +139,11 @@ pub enum Error { Keystore(#[from] keystore::Error), #[error(transparent)] MemorySigner(#[from] keystore::MemorySignerError), - #[error("no profile found at path '{0}'")] + #[error("no radicle profile found at path '{0}'")] NotFound(PathBuf), #[error("error connecting to ssh-agent: {0}")] Agent(#[from] crate::crypto::ssh::agent::Error), - #[error("profile key `{0}` is not registered with ssh-agent")] + #[error("radicle key `{0}` is not registered; run `rad auth` to register it with ssh-agent")] KeyNotRegistered(PublicKey), #[error(transparent)] PolicyStore(#[from] node::policy::store::Error),