Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Make error message for invalid commit clearer
Lorenz Leutgeb committed 10 months ago
commit 807216c1c17449160ec8ee7ab2b00e9203932256
parent e8b69e86ca9701f1990193a26e1db6b124dd2135
1 file changed +1 -1
modified crates/radicle-remote-helper/src/push/error.rs
@@ -93,7 +93,7 @@ pub struct MissingCommit {
}

#[derive(Debug, Error)]
-
#[error("could not determine the commit {commit} for {did} is part of the repository {repo:?}")]
+
#[error("could not determine whether the commit {commit} for {did} is part of the repository {repo:?} due to: {source}")]
pub struct InvalidCommit {
    repo: PathBuf,
    did: Did,