Skip to content

Commit 19704d9

Browse files
committed
chore: safe await
1 parent aca2671 commit 19704d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/handlers/http/logstream.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub async fn delete(stream_name: Path<String>) -> Result<impl Responder, StreamE
5757

5858
let objectstore = PARSEABLE.storage.get_object_store();
5959

60-
let all_filters = PARSEABLE.metastore.get_filters().await.unwrap_or_default();
60+
let all_filters = PARSEABLE.metastore.get_filters().await?;
6161
// collect filters associated with the logstream being deleted
6262
let filters_for_stream: Vec<Filter> = all_filters
6363
.into_iter()

0 commit comments

Comments
 (0)