Skip to content

Commit

Permalink
Make initial connection failure message less daunting.
Browse files Browse the repository at this point in the history
Right now it seems like something has gone wrong when this message is printed out.
Instead, this is a normal condition. So I changed the message a bit.
  • Loading branch information
pwendell committed Aug 21, 2013
1 parent 6be6b71 commit c02585e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ec2/spark_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def ssh(host, opts, command):
except subprocess.CalledProcessError as e:
if (tries > 2):
raise e
print "Error connecting to host {0}, sleeping 30".format(e)
print "Couldn't connect to host {0}, waiting 30 seconds".format(e)
time.sleep(30)
tries = tries + 1

Expand Down

0 comments on commit c02585e

Please sign in to comment.