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:
statussocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
statussocket.connect((host, port))
except socket.error:
raise IOError("Cannot connect to status server")
raise IOError("Cannot connect to status server " + host + " at port " + str(port))
while True:
readable, writable, exceptional =
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