Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

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

Closed
wants to merge 1 commit into from

Conversation

Jaco-Pretorius
Copy link
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.

include the request context (method & url) in badcfg error message
netman92 pushed 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants