aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-02 20:12:11 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-02 20:12:11 -0600
commit1b3e677507c17388bc2ae85ad5a6c03a9dff139b (patch)
tree3d585a29fd9b8153daabecf8272689f7794c5d4c /src
parentaa017eb4dc9f070c35711fdf908171938921c422 (diff)
downloadmakers-1b3e677507c17388bc2ae85ad5a6c03a9dff139b.tar.gz
makers-1b3e677507c17388bc2ae85ad5a6c03a9dff139b.zip
give target name in error message
Diffstat (limited to 'src')
-rw-r--r--src/makefile/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index 82d7d39..3de4975 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -543,7 +543,7 @@ impl<'a> Makefile<'a> {
Ok(Rc::clone(
targets
.get(name)
- .ok_or_else(|| eyre!("Target not found!"))?,
+ .ok_or_else(|| eyre!("Target {:?} not found!", name))?,
))
}