Skip to content

Commit cb8c343

Browse files
committed
fmt
1 parent a3a60dd commit cb8c343

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/webserver/http.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,14 @@ async fn build_response_header_and_stream<S: Stream<Item = DbItem>>(
159159
log::debug!("finished query");
160160
continue;
161161
}
162-
DbItem::Error(source_err) if matches!(source_err.downcast_ref(), Some(&ErrorWithStatus { status: _ }) ) => return Err(source_err),
162+
DbItem::Error(source_err)
163+
if matches!(
164+
source_err.downcast_ref(),
165+
Some(&ErrorWithStatus { status: _ })
166+
) =>
167+
{
168+
return Err(source_err)
169+
}
163170
DbItem::Error(source_err) => head_context.handle_error(source_err).await?,
164171
};
165172
match page_context {

0 commit comments

Comments
 (0)