Parcourir la 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 il y a 15 ans
Parent
commit
d1ce6d6866
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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