mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Fix ignored .to_string() errors in Web::dump_sheet()
This commit is contained in:
@@ -221,7 +221,8 @@ void ConnectionFromClient::debug_request(DeprecatedString const& request, Deprec
|
||||
if (request == "dump-style-sheets") {
|
||||
if (auto* doc = page().top_level_browsing_context().active_document()) {
|
||||
for (auto& sheet : doc->style_sheets().sheets()) {
|
||||
Web::dump_sheet(sheet);
|
||||
if (auto result = Web::dump_sheet(sheet); result.is_error())
|
||||
dbgln("Failed to dump style sheets: {}", result.error());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user