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

feat($resource): Include request context in error message #11363

Closed
wants to merge 1 commit into from

Conversation

@Jaco-Pretorius
Copy link
Contributor

@Jaco-Pretorius Jaco-Pretorius commented Mar 18, 2015

Currently the badcfg error only reports that the wrong type of response was received (object instead of array, or array instead of object), but no further context is included. This change includes the request method and url to assist with debugging.

include the request context (method & url) in badcfg error message
netman92 added a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
include the request context (method & url) in badcfg error message

Closes angular#11363
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants