Change format of error msg

This commit is contained in:
greg 2018-10-20 11:14:40 -07:00
parent 4679a9fc7f
commit f62b4c6906

View File

@ -217,8 +217,8 @@ macro_rules! pass_chain_helper {
}
match output {
Ok(result) => pass_chain_helper! { ($state, $comp, $eval_options); result $(, $rest)* },
Err(err) => {
$comp.output(Err(format!("Pass {} failed with {:?}", pass_name, err)))
Err(err) => { //TODO this error type needs to be guaranteed to provide a useable string
$comp.output(Err(format!("Pass {} failed:\n{}", pass_name, err)))
}
}
}