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
base: master
from

Conversation

Projects
None yet
2 participants
@Jaco-Pretorius
Contributor

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.

feat($resource): Include request context in error message
include the request context (method & url) in badcfg error message

@googlebot googlebot added the cla: yes label Mar 18, 2015

netman92 added a commit to netman92/angular.js that referenced this pull request Aug 8, 2015

feat($resource): include request context in error message
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