janodvarko / harviewer

HAR Viewer is a web application that allows visualizing HTTP Archive logs (HARs)
http://www.softwareishard.com/blog/har-viewer/
1.04k stars 184 forks source link

Don't fail-fast when loading HARs/HARPs #122

Closed gitgrimbo closed 6 years ago

gitgrimbo commented 6 years ago

Continue loading as many HARs/HARPs as we can.

Save the original request URL to the jqXHR object so that we can display the URL in the case of error.

Add tests that check for errors when a missing HAR/HARP is attempted to be loaded.

gitgrimbo commented 6 years ago

E.g. with a missing HAR (HTTP 404) and using an invalid protocol (fake://):

image