mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:17:34 +00:00
WebContent: Add missing TRY on client initialization
This commit is contained in:
parent
39ecb832e4
commit
67a1a9db1d
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("/tmp/portal/websocket", "rw"));
|
||||||
TRY(Core::System::unveil(nullptr, nullptr));
|
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();
|
return event_loop.exec();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue