This is an automated email from the ASF dual-hosted git repository.

jacksontj pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/trafficserver-qa.git

The following commit(s) were added to refs/heads/master by this push:
       new  b83968e   Cleaner error message for unable to bind-- instead of 
trying to start something which doesn't exist
b83968e is described below

commit b83968e022229385ef5fe3ddae6c2e521dbe80e6
Author: Thomas Jackson <[email protected]>
AuthorDate: Thu Nov 3 09:45:31 2016 -0700

    Cleaner error message for unable to bind-- instead of trying to start 
something which doesn't exist
---
 tsqa/endpoint.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tsqa/endpoint.py b/tsqa/endpoint.py
index 993125b..b3bc506 100644
--- a/tsqa/endpoint.py
+++ b/tsqa/endpoint.py
@@ -231,6 +231,8 @@ class DynamicHTTPEndpoint(threading.Thread):
             self.server.socket.setsockopt(socket.SOL_SOCKET, 
socket.SO_REUSEADDR, 1)
         except Exception as e:
             self.error = e
+            self.ready.set()
+            return
         # mark it as ready
         self.ready.set()
         # serve it

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to