Skip to content

Commit

Permalink
Viewer: log expected URL (#2724)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Jul 21, 2017
1 parent c942d17 commit 6478f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-viewer/app/src/github-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6478f15

Please sign in to comment.