Closed dhananjaykumar880 closed 1 year ago
Hi, sorry for the long reply.
I think we can remove that part of the code from FormData.interceptor.ts
if (err.status && err.response) {
res.status(err.status);
return rxjs_1.of(err.response);
}
Because it simply duplicates the standard error handling. So the custom error handler will not conflict with the library
version 1.8.2 released with fix this issue please check, and reopen this issue if need
Hi Guys,
Thank you for creating this wonderful library. it helps a lot to upload file with other data. but seems I can not use my error handling with this. My global filter for catch error is not getting trigger due to below code.
Kindly see comment code which is handling error. Kindly make is configurable if want error handling or not.
Thanks in advance.