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

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@Jaco-Pretorius
Contributor

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.

@Jaco-Pretorius Jaco-Pretorius feat($resource): Include request context in error message
include the request context (method & url) in badcfg error message
45afae7
@googlebot googlebot added the cla: yes label Mar 18, 2015
@pkozlowski-opensource pkozlowski-opensource added a commit that closed this pull request Apr 27, 2015
@Jaco-Pretorius @pkozlowski-opensource Jaco-Pretorius + pkozlowski-opensource feat($resource): include request context in error message
include the request context (method & url) in badcfg error message

Closes #11363
266bc65
@netman92 netman92 added a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
@Jaco-Pretorius @netman92 Jaco-Pretorius + netman92 feat($resource): include request context in error message
include the request context (method & url) in badcfg error message

Closes #11363
7db3b0f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment