Skip to content

Commit

Permalink
add notes on changes
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Mar 5, 2024
1 parent 294b520 commit a77b064
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/planner_test/tests/planner_test_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ fn main() {
let file_content = std::fs::read_to_string(&path).unwrap();
build_runtime()
.block_on(run_test_file(&path, &file_content))
// Manually convert to `Failed`, otherwise it will use `Display` impl of
// `anyhow::Error` which loses the source chain.
.map_err(|e| Failed::from(e.as_report()))
}));
}
Expand Down

0 comments on commit a77b064

Please sign in to comment.