Skip to content

Commit

Permalink
print query when panicking
Browse files Browse the repository at this point in the history
  • Loading branch information
a10y committed Dec 19, 2024
1 parent 65925dd commit 11761b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bench-vortex/src/bin/clickbench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ fn main() {
for _ in 0..args.iterations {
let exec_duration = runtime.block_on(async {
let start = Instant::now();
execute_query(&context, &query).await.unwrap();
execute_query(&context, &query)
.await
.expect(&format!("executing query {query_idx}"));
start.elapsed()
});

Expand Down

0 comments on commit 11761b5

Please sign in to comment.