summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/main.cpp
diff options
context:
space:
mode:
authorHendiadyoin1 <leon2002.la@gmail.com>2021-12-07 00:41:28 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-07 00:44:57 +0100
commit67a1a9db1d45d2a113d17c97f51507faeff8bc31 (patch)
tree11e73e81e2151f9aa32ad51bc7bc599637098781 /Userland/Services/WebContent/main.cpp
parent39ecb832e476a3695ca14cb3fb8e9447e501d775 (diff)
downloadserenity-67a1a9db1d45d2a113d17c97f51507faeff8bc31.zip
WebContent: Add missing TRY on client initialization
Diffstat (limited to 'Userland/Services/WebContent/main.cpp')
-rw-r--r--Userland/Services/WebContent/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/main.cpp b/Userland/Services/WebContent/main.cpp
index a636c78d81..8bb754281c 100644
--- a/Userland/Services/WebContent/main.cpp
+++ b/Userland/Services/WebContent/main.cpp
@@ -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();
}