diff --git a/lighthouse-viewer/app/src/github-api.js b/lighthouse-viewer/app/src/github-api.js index 2ec96173aa3d..c2f366a946bc 100644 --- a/lighthouse-viewer/app/src/github-api.js +++ b/lighthouse-viewer/app/src/github-api.js @@ -116,7 +116,7 @@ class GithubApi { const filename = Object.keys(json.files) .find(filename => filename.endsWith(GithubApi.LH_JSON_EXT)); if (!filename) { - throw new Error(`gist ${id} does not contain a Lighthouse report`); + throw new Error(`Failed to find a Lighthouse report (*${GithubApi.LH_JSON_EXT}) in gist ${id}`); } const f = json.files[filename]; if (f.truncated) {