diff --git a/src/main.rs b/src/main.rs index 8c412be..26207f8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,18 +1,18 @@ #[derive(Debug, thiserror::Error)] enum TciError { - #[error("could not understand file system structure, bailing out")] + #[error("could not understand file system structure, bailing out: {0}")] FsError(&'static str), #[error("missing tci script")] MissingScript, - #[error("unexpected i/o error")] + #[error("unexpected i/o error: {0}")] IoError(#[from] std::io::Error), - #[error("git error")] + #[error("git error: {0}")] GitError(#[from] git2::Error), - #[error("subprocess finished with non-zero exit code")] + #[error("subprocess finished with non-zero exit code: {0}")] SubprocessError(i32), #[error("subprocess terminated")]