We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c205742 commit ccffddfCopy full SHA for ccffddf
crates/api/src/client.rs
@@ -29,7 +29,7 @@ pub async fn search(
29
search.limit = Some(max_items.try_into()?);
30
}
31
32
- let stream = client.search(search).await.unwrap();
+ let stream = client.search(search).await?;
33
let mut items = if let Some(max_items) = max_items {
34
if max_items == 0 {
35
return Ok(ItemCollection::default());
0 commit comments