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

Resource errors should include response in log #8

Open
pushred opened this issue Apr 13, 2015 · 0 comments
Open

Resource errors should include response in log #8

pushred opened this issue Apr 13, 2015 · 0 comments

Comments

@pushred
Copy link
Member

pushred commented Apr 13, 2015

Working on a project that had a misconfigured API key, this was the feedback I got loading a page with loglevel 3:

[2015-04-13T19:21:39.451Z] 2 /tour [upcoming] Resource error: Invalid data status

That's not too informative. It'd be helpful to see the response in this scenario in the log and perhaps hte context as well. Any JSON responses would need to be prettyprinted to be useful, but that could be a problem in a production log. Perhaps the current behavior remains as-is for production and these enhancements are a dev addition.

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