From 85d56ed76fefca3f72a7fad265be748e6f32b8fe Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 16 Nov 2022 16:45:11 -0800 Subject: [PATCH] FEXServerClient: Print a message when the server socket fails --- Source/Common/FEXServerClient.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Common/FEXServerClient.cpp b/Source/Common/FEXServerClient.cpp index 027bb1f01..d4bde1764 100644 --- a/Source/Common/FEXServerClient.cpp +++ b/Source/Common/FEXServerClient.cpp @@ -226,6 +226,11 @@ namespace FEXServerClient { std::this_thread::sleep_for(std::chrono::seconds(1)); } + + if (ServerFD == -1) { + // Still couldn't connect to the socket. + LogMan::Msg::EFmt("Couldn't connect to FEXServer socket {} after launching the process", GetServerSocketFile()); + } } } return ServerFD;