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 NullReferenceException if one provides fake url as a server #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

trams
Copy link
Contributor

@trams trams commented Feb 6, 2017

No description provided.

@initialcontext
Copy link
Contributor

Not a bad idea here. iirc at Etsy it was handy to fail fast if someone deployed with a bad server URL we might not want to mask that completely, but could handle it better than NPE. Any thoughts about doing something in between? Any Etsy folks have input on this?

@trams
Copy link
Contributor Author

trams commented Feb 7, 2017

I am okay with either solution. We could throw a distinct exception instead of NPE

@initialcontext
Copy link
Contributor

My instinct is a better error message would be the play here, but I'll defer to the Etsy folks to decide that as they can merge. Nice find, thanks for the contrib!

@nixsticks
Copy link
Contributor

@trams Thanks for your contribution! We'd love to add a distinct exception/informative error message, as @initialcontext suggested.

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.

3 participants