ng2-http-interceptor
ng2-http-interceptor copied to clipboard
Cancelling request in before doesn't trigger application error handlers
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.