mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibWeb: Make processBodyError take an optional exception
Changed here:
018ac19838
This commit is contained in:
committed by
Andreas Kling
parent
ae5bb13f1f
commit
9c2d496dbe
@@ -324,7 +324,7 @@ void HTMLLinkElement::default_fetch_and_process_linked_resource()
|
||||
};
|
||||
|
||||
// NOTE: `this` and `unsafe_response` are protected by `fully_read` using JS::SafeFunction.
|
||||
auto process_body_error = [this, unsafe_response](auto&) {
|
||||
auto process_body_error = [this, unsafe_response](auto) {
|
||||
process_linked_resource(false, unsafe_response, Fetch::Infrastructure::FetchAlgorithms::ConsumeBodyFailureTag {});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user