Commit 55bdbec8 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

More verbose error

parent c360eafa
...@@ -186,7 +186,7 @@ class Telescope: ...@@ -186,7 +186,7 @@ class Telescope:
statussocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) statussocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
statussocket.connect((host, port)) statussocket.connect((host, port))
except socket.error: except socket.error:
raise IOError("Cannot connect to status server") raise IOError("Cannot connect to status server " + host + " at port " + str(port))
while True: while True:
readable, writable, exceptional = select.select( readable, writable, exceptional = select.select(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment