79182756

Date: 2024-11-12 21:29:46
Score: 2
Natty:
Report link

The problem was that I had an overeager HttpInterceptor that was converting all HTTP error responses into a string.

The intercepter was simply returning:

err.statusText

Which was why I only saw a string, not an HttpErrorResponse object.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Chrygore