Skip to content

Commit

Permalink
more correct error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Nov 4, 2019
1 parent 2cf7c29 commit 224378c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,8 @@ impl Builder {
File::open(self.input.join("toolstates-linux.json")).ok()
.and_then(|f| serde_json::from_reader(&f).ok());
let toolstates = toolstates.unwrap_or_else(|| {
println!("WARNING: `toolstates-linux.json` missing; assuming all tools failed");
println!("WARNING: `toolstates-linux.json` missing/malformed; \
assuming all tools failed");
HashMap::default() // Use empty map if anything went wrong.
});
// Mark some tools as missing based on toolstate.
Expand Down

0 comments on commit 224378c

Please sign in to comment.