Skip to content

Commit

Permalink
feat(sol-driver): add fancy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aripiprazole committed May 29, 2024
1 parent 8a22d69 commit 8458a6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sol-driver/src/suite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ pub fn push_fancy_errors(
output: Expect,
outputs: &[Vec<Arc<sol_eyre::Report>>],
) -> sol_eyre::Result<()> {
todo!();
writeln!(output, "Fancy errors:")?;
for error in outputs.iter().flatten() {
writeln!(output, "{error:?}")?;
}
Ok(())
}

/// Prints a debug report of the given `type_table`.
Expand Down

0 comments on commit 8458a6f

Please sign in to comment.