added error handling http interceptor