ng2-http-interceptor icon indicating copy to clipboard operation
ng2-http-interceptor copied to clipboard

Cancelling request in before doesn't trigger application error handlers

Open perrosen opened this issue 7 years ago • 0 comments

Currently having an issue with cancelling requests in before method. When throwing Observable.throw({...}) the error handler in HttpInterceptorConnection is triggered stopping any actions in the app. Ideally a cancelled request in before should be picked up by after handler to return control to the application.

This cancelling of requests in before method isn't really documented just found it in a comment by @yulonh in another ticket so maybe I'm misunderstanding its usage.

perrosen avatar Oct 18 '17 23:10 perrosen