We have a generic error handling, that shows an error to the user when a request fails.
The error contains information on when it happened, and the status text of the response. (response.statusText).
Recently we discovered that the statusText was missing in the screenshot of one our the reported bugs. It turned out that response.statusText is present only if you don’t use HTTPS. When you use HTTPS, the browser and the server switch to HTTP/2, which does not support response.statusText – just response.status, that holds the status code.
Our quick fix only showed the status code, despite making it less user-friendly.

Leave a Reply