mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
WebServer+LibGUI: Use fallible version of StringBuilder::to_byte_buffer
...and simply ignore the errors for now. This allows us to remove the infallible function and avoid accumulating more callers of it.
This commit is contained in:
@@ -81,7 +81,7 @@ void Client::start()
|
||||
builder.append("\r\n"sv);
|
||||
}
|
||||
|
||||
auto request = builder.to_byte_buffer();
|
||||
auto request = builder.try_to_byte_buffer().release_value_but_fixme_should_propagate_errors();
|
||||
dbgln_if(WEBSERVER_DEBUG, "Got raw request: '{}'", DeprecatedString::copy(request));
|
||||
|
||||
auto maybe_did_handle = handle_request(request);
|
||||
|
||||
Reference in New Issue
Block a user