I am making an http request with Angular HttpClient.
http.get(`${hostUrl}/myproject/infrastructure-status`)
.subscribe(
(resp) => {
// handle response
},
(error) => {
console.log(error)
});
In my console, an error of type HttpErrorResponse is logged:

However, the backend response on my network tab is not the same:
Can I get the full error response in Angular? If so, how?

