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

Expose HTTP status code in error messages #207

Merged
merged 1 commit into from
Mar 28, 2017
Merged

Conversation

mattyu007
Copy link
Owner

@mattyu007 mattyu007 commented Mar 27, 2017

Closes #206.

In cases where we have connectivity but receive an error response from the server, we should expose the status code and stop telling people to check their Internet connection.

This also makes it easier to diagnose issues when the app is built in release mode and doesn't expose any React UI for looking deeper into errors.

screen shot 2017-03-27 at 3 33 49 pm

screen shot 2017-03-27 at 3 33 57 pm

screen shot 2017-03-27 at 3 34 08 pm

screen shot 2017-03-27 at 3 34 16 pm

screen shot 2017-03-27 at 3 35 36 pm

screen shot 2017-03-27 at 3 35 55 pm

Copy link
Collaborator

@ClaytonPassmore ClaytonPassmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! That will be helpful

@mattyu007 mattyu007 merged commit dbb1fe7 into master Mar 28, 2017
@mattyu007 mattyu007 deleted the feature/client/errors branch March 28, 2017 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants