When stamp doesn't exist, should say Error, and print path to stamp file
This commit is contained in:
parent
2a4b00beaa
commit
770d30377a
1 changed files with 2 additions and 1 deletions
|
@ -1433,7 +1433,8 @@ impl Build {
|
||||||
|
|
||||||
if !stamp.exists() {
|
if !stamp.exists() {
|
||||||
eprintln!(
|
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);
|
crate::detail_exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue