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

fix(ngResource): make badcfg error message more helpful #9010

Closed
wants to merge 1 commit into from

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Sep 10, 2014

The error message should help identify the problem. To do so, more details
need to be provided.

Closes #9005

The error message should help identify the problem. To do so, more details need to be provided.

Closes angular#9005
@caitp
Copy link
Contributor Author

caitp commented Sep 10, 2014

@petebacondarwin can you review? It's pretty tiny.

I think it would actually be better if we exposed the requested URL in the error, but unfortunately that's a bit harder to test reliably

@petebacondarwin
Copy link
Contributor

Good stuff. I'll merge

@petebacondarwin
Copy link
Contributor

Ah, I was just running grunt test on this :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$resource object/array errors should provide method that is causing the issue
3 participants