Browse Source

WebContent: Add missing TRY on client initialization

Hendiadyoin1 3 years ago
parent
commit
67a1a9db1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Userland/Services/WebContent/main.cpp

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