Skip to content
Snippets Groups Projects
Commit f6e9388c authored by Matt Traudt's avatar Matt Traudt Committed by Matt Traudt
Browse files

Make a warning message better

parent 8cda0015
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment