Skip to content

Commit

Permalink
Added assert false back
Browse files Browse the repository at this point in the history
  • Loading branch information
Sevenannn committed Oct 25, 2023
1 parent f730dca commit 85e8429
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions rust/snippets/spice-rs/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ match spice_client.query(
while let Some(batch) = flight_data_stream.next().await {
match batch {
Ok(batch) => {
/* process batch */
println!("{:?}", batch)
println!("{:?}", batch);
},
Err(e) => {
assert!(false, "Error: {}", e);
},
Err(e) => { /* handle error */ },
};
}
}
Err(e) => { /* handle error */ }
Err(e) => {
assert!(false, "Error: {}", e);
}
};

0 comments on commit 85e8429

Please sign in to comment.