From 101c96b03ecf180af986bc20b7161b0933ae47cf Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 3 Apr 2021 12:52:46 -0600 Subject: add error indicator for target being updated --- src/makefile/target.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/makefile/target.rs b/src/makefile/target.rs index 7c0d67c..549c95c 100644 --- a/src/makefile/target.rs +++ b/src/makefile/target.rs @@ -58,7 +58,8 @@ impl Target { .wrap_err_with(|| format!("as a dependency for target {}", self.name))?; } if !self.is_up_to_date(file) { - self.execute_commands(file)?; + self.execute_commands(file) + .wrap_err_with(|| format!("while updating target {}", self.name))?; } self.already_updated.set(true); -- cgit v1.2.3