Skip to content

Commit

Permalink
Better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jul 29, 2016
1 parent dc6ca66 commit 72226ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func RunClient(conf Conf, isCopy bool, isMove bool) {
rbuf := make([]byte, 65)
if nbread, err := io.ReadFull(reader, rbuf); err != nil {
if nbread < 2 {
log.Fatal("The server rejected the connection - Please retry later")
log.Fatal("The server rejected the connection - Check that it is running the same Piknik version, or retry later")
} else {
log.Fatal("The server doesn't support this protocol")
}
Expand Down

0 comments on commit 72226ce

Please sign in to comment.