Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
edgrip committed Aug 27, 2023
1 parent 43f5758 commit e100ff0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/webserver/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,14 @@ async fn build_response_header_and_stream<S: Stream<Item = DbItem>>(
log::debug!("finished query");
continue;
}
DbItem::Error(source_err) if matches!(source_err.downcast_ref(), Some(&ErrorWithStatus { status: _ }) ) => return Err(source_err),
DbItem::Error(source_err)
if matches!(
source_err.downcast_ref(),
Some(&ErrorWithStatus { status: _ })
) =>
{
return Err(source_err)
}
DbItem::Error(source_err) => head_context.handle_error(source_err).await?,
};
match page_context {
Expand Down

0 comments on commit e100ff0

Please sign in to comment.