Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Conversation

@jarvelov
Copy link
Contributor

@jarvelov jarvelov commented Jun 7, 2017

vue-resource doesn't handle promise rejections and instead we get unhandled rejection errors which makes error handling harder. This patch just sends the rejection up the chain so that the error can be handled.

The added benefit is that interceptors now can return a rejected Promise which has been listed as an issue here

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants