Change format of error msg
This commit is contained in:
parent
4679a9fc7f
commit
f62b4c6906
@ -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)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user