Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to handle broker outage (or wrong url) #6

Open
andypiper opened this issue Jun 20, 2013 · 0 comments
Open

Fails to handle broker outage (or wrong url) #6

andypiper opened this issue Jun 20, 2013 · 0 comments

Comments

@andypiper
Copy link

If the configured MQTT broker cannot be reached (either it has been incorrectly specified host/port in the code, or it is down), then the web page returned by Ruby will print an inelegant error page.

Errno::ECONNREFUSED at /
Connection refused - connect(2)
file: client.rb location: initialize line: 127

This could be handled more gracefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant