theinfogrid.com
Logging HTTP Errors in Angular 6 - The InfoGrid
In this post, we are going to use the same HTTP Interceptor to catch HTTP errors – 500, 401, 400 etc. – and logging them remotely.