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

Fix a monolog call that masked underlying exceptions #5

Merged
merged 3 commits into from
Apr 5, 2018

Conversation

jason-o-matic
Copy link
Member

When DNS resolution failed we logged a message. Unfortunately the
logger call had an incorrect argument and would then raise a new
exception.

This removes the bad argument and adds a test to verify the correct
message gets logged.

#3

jason-o-matic and others added 3 commits April 5, 2018 16:43
When DNS resolution failed we logged a message. Unfortunately the
logger call had an incorrect argument and would then raise a new
exception.

This removes the bad argument and adds a test to verify the correct
message gets logged.

#3
This removes code that we had to hide errors from printing to the
screen as well as updating the connection test to check for the
appropriate error message.
@jason-o-matic jason-o-matic merged commit 18ee0f9 into master Apr 5, 2018
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

Successfully merging this pull request may close these issues.

2 participants