Browse Source

more meaningful error message on connect failure

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@267 e5f2f494-b856-4b98-b285-d166d9295462
Evan Hunt 15 years ago
parent
commit
d1ce6d6866
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/cc/cpp/session.cc

+ 1 - 1
src/lib/cc/cpp/session.cc

@@ -46,7 +46,7 @@ Session::establish()
 
     ret = connect(sock, (struct sockaddr *)&sin, sizeof(sin));
     if (ret < 0)
-        throw SessionError("connect() failed");
+        throw SessionError("Unable to connect to message queue");
 
     //
     // send a request for our local name, and wait for a response