When stamp doesn't exist, should say Error, and print path to stamp file

This commit is contained in:
teapot4195 2023-01-29 13:35:37 -05:00
parent 2a4b00beaa
commit 770d30377a

View File

@ -1433,7 +1433,8 @@ impl Build {
if !stamp.exists() {
eprintln!(
"Warning: Unable to find the stamp file, did you try to keep a nonexistent build stage?"
"Error: Unable to find the stamp file {}, did you try to keep a nonexistent build stage?",
stamp.display()
);
crate::detail_exit(1);
}