Skip to content

Commit

Permalink
Merge pull request #158 from a-kenji/error/improve
Browse files Browse the repository at this point in the history
Improve error report, if change could not be applied
  • Loading branch information
a-kenji authored Sep 5, 2024
2 parents b773d18 + 443da71 commit b37a078
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/flake-edit/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ fn main() -> eyre::Result<()> {
tracing::error!("The changes will not be applied.");
}
eprintln!("{}", resulting_change);
eprintln!("There were errors in the changes, the changes have not been applied.");
std::process::exit(1);
}

Expand Down

0 comments on commit b37a078

Please sign in to comment.