This repository was archived by the owner on Dec 1, 2023. It is now read-only.
This repository was archived by the owner on Dec 1, 2023. It is now read-only.
Can't throw error (reject promise) in response interceptor #377
Closed
Description
Chrome will throw 'Uncaught (in promise)' if I return reject in response interceptor.`
when
function takes 3 args: value, fulfilled, rejected
, but is called with only 2, no rejected callback here:
https://github.com/vuejs/vue-resource/blob/b9c195daca50188f9338d0900654e75fb6eed483/src/http/client/index.js#L40-L46
Metadata
Metadata
Assignees
Labels
No labels