diff options
Diffstat (limited to 'contrib/Socket.cpp')
-rw-r--r-- | contrib/Socket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/Socket.cpp b/contrib/Socket.cpp index bcffb07..2df1559 100644 --- a/contrib/Socket.cpp +++ b/contrib/Socket.cpp @@ -195,7 +195,7 @@ void UDPSocket::reinit(int port, const std::string& name) freeaddrinfo(result); if (rp == nullptr) { - throw runtime_error("Could not bind"); + throw runtime_error(string{"Could not bind to port "} + to_string(port)); } } |