Skip to content

Commit

Permalink
report: ignore Edge's Invalid Argument error (#6456)
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored and paulirish committed Nov 2, 2018
1 parent 541e0f0 commit f88237d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lighthouse-core/report/html/renderer/details-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,7 @@ class DetailsRenderer {
displayedPath = parsed.file === '/' ? parsed.origin : parsed.file;
displayedHost = parsed.file === '/' ? '' : `(${parsed.hostname})`;
title = url;
} catch (/** @type {!Error} */ e) {
if (!e.name.startsWith('TypeError')) {
throw e;
}
} catch (e) {
displayedPath = url;
}

Expand Down

0 comments on commit f88237d

Please sign in to comment.