From a3111fbcc19ce727b9c2167e59aadf931c18fe6f Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sat, 13 Oct 2018 08:35:07 +0300 Subject: [PATCH] [Server] Use clearer error message when failing to bind port --- apps/openmw-mp/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/main.cpp b/apps/openmw-mp/main.cpp index 00bd037c2..87654ecd4 100644 --- a/apps/openmw-mp/main.cpp +++ b/apps/openmw-mp/main.cpp @@ -271,7 +271,7 @@ int main(int argc, char *argv[]) case RakNet::SOCKET_FAILED_TO_BIND: case RakNet::SOCKET_PORT_ALREADY_IN_USE: case RakNet::PORT_CANNOT_BE_ZERO: - throw runtime_error("Failed to bind port"); + throw runtime_error("Failed to bind port. Make sure a server isn't already running on that port."); case RakNet::SOCKET_FAILED_TEST_SEND: case RakNet::SOCKET_FAMILY_NOT_SUPPORTED: case RakNet::FAILED_TO_CREATE_NETWORK_THREAD: