WebContent: Add missing TRY on client initialization
This commit is contained in:
parent
39ecb832e4
commit
67a1a9db1d
Notes:
sideshowbarker
2024-07-17 23:06:15 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/67a1a9db1d4 Pull-request: https://github.com/SerenityOS/serenity/pull/11177
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
TRY(Core::System::unveil("/tmp/portal/websocket", "rw"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
auto client = IPC::take_over_accepted_client_from_system_server<WebContent::ClientConnection>();
|
||||
auto client = TRY(IPC::take_over_accepted_client_from_system_server<WebContent::ClientConnection>());
|
||||
return event_loop.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue