Commit f6e9388c authored by Matt Traudt's avatar Matt Traudt Committed by Matt Traudt
Browse files

Make a warning message better

parent 8cda0015
......@@ -86,7 +86,10 @@ def authenticate_to_server(sock, pw):
log.warning(e)
return False
if msg != SUCCESS_BYTES:
log.warning('Didn\'t get success code from server')
log.warning('Didn\'t get success code from server. Most likely the '
'password we are giving it is wrong. It\'s also possible '
'the server doesn\'t support wire protocol version %d.',
wire_proto_ver)
return False
return True
......
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