Improve summary error message

This commit is contained in:
Zykino 2023-07-12 00:46:13 +02:00
parent fcfe3713aa
commit e5ffc36f0c

View File

@ -36,9 +36,7 @@ impl From<Result<()>> for Status {
pub enum Error { pub enum Error {
// #[error("TODO")] // #[error("TODO")]
// Config, // Config,
#[error( #[error("Could not achieve the \"{step}\" step. Command `{cmd}` exited with: {source}")]
"Could not achieve the \"{step}\" step. Command `{cmd}` resulted in an exited with: {source}"
)]
Execution { Execution {
source: io::Error, source: io::Error,
step: UpdateSteps, step: UpdateSteps,