more correct error msg
This commit is contained in:
parent
2cf7c29675
commit
224378cc6a
@ -384,7 +384,8 @@ fn check_toolstate(&mut self) {
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user