Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

fix: Handle connection refused #43

Merged

Conversation

mauricioabreu
Copy link
Collaborator

When server is offline the program should only show a message not a
hard-to-read traceback.

When server is offline the program should only show a message not a
hard-to-read traceback.
@mauricioabreu
Copy link
Collaborator Author

Two things here:
1 - I don't know if exit -1 is the right thing to do.
2 - In Python, a try...except code with a broad except is considered harmful.

@marceloboeira marceloboeira merged commit 7f2c602 into marceloboeira:master Aug 28, 2016
@mauricioabreu mauricioabreu deleted the handle-connection-refused branch August 28, 2016 20:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants