From e1128fe55d91ca60086de45c911b4568d2eec9ee Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 31 Mar 2021 13:43:46 -0600 Subject: awolnation voice BAIL --- src/makefile/command_line.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/makefile/command_line.rs') diff --git a/src/makefile/command_line.rs b/src/makefile/command_line.rs index 050488c..aaf964a 100644 --- a/src/makefile/command_line.rs +++ b/src/makefile/command_line.rs @@ -94,8 +94,7 @@ impl CommandLine { if errored { // apparently there was an error. do we care? if !ignore_error { - // TODO handle this error gracefully - panic!("error from command execution!"); + anyhow::bail!("error from command execution!"); } } -- cgit v1.2.3