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

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

Closed
Jaco-Pretorius wants to merge 1 commit intoangular:masterfrom
Jaco-Pretorius:master
Closed

feat($resource): Include request context in error message#11363
Jaco-Pretorius wants to merge 1 commit intoangular:masterfrom
Jaco-Pretorius:master

Conversation

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

2 participants

X Tutup