We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3a60dd commit cb8c343Copy full SHA for cb8c343
src/webserver/http.rs
@@ -159,7 +159,14 @@ async fn build_response_header_and_stream<S: Stream<Item = DbItem>>(
159
log::debug!("finished query");
160
continue;
161
}
162
- DbItem::Error(source_err) if matches!(source_err.downcast_ref(), Some(&ErrorWithStatus { status: _ }) ) => return Err(source_err),
+ DbItem::Error(source_err)
163
+ if matches!(
164
+ source_err.downcast_ref(),
165
+ Some(&ErrorWithStatus { status: _ })
166
+ ) =>
167
+ {
168
+ return Err(source_err)
169
+ }
170
DbItem::Error(source_err) => head_context.handle_error(source_err).await?,
171
};
172
match page_context {
0 commit comments