1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:27:35 +00:00

WebContent: Add missing TRY on client initialization

This commit is contained in:
Hendiadyoin1 2021-12-07 00:41:28 +01:00 committed by Andreas Kling
parent 39ecb832e4
commit 67a1a9db1d

View file

@ -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();
}