Closed JonathanWylie closed 3 years ago
@JonathanWylie I've setup a PR (#277) to address this (screenshot below), but used a manually changed HAR file, do you have any real-world examples? I assume the "comment" you mentioned would be in the the statusText
field?
When displaying a HAR when a component did not get a response, eg connection refused, or connection timeout etc then the http status code defaults to 0. I would like perf cascade to highlight them when displaying the har, so it is clear there was a problem. Then I will put the reason, eg connection timeout, in the "comment", so the user can easily there was a problem with the component and what the cause was. Or perhaps use the indicators for this, so indicate it with the error icon, if it has a status code of 0, and if it has a comment, include that in the error message.
I am willing to make a pull request if this behaviour is wanted.