Skip to content

Commit 6478f15

Browse files
authored
Viewer: log expected URL (#2724)
1 parent c942d17 commit 6478f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lighthouse-viewer/app/src/github-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class GithubApi {
116116
const filename = Object.keys(json.files)
117117
.find(filename => filename.endsWith(GithubApi.LH_JSON_EXT));
118118
if (!filename) {
119-
throw new Error(`gist ${id} does not contain a Lighthouse report`);
119+
throw new Error(`Failed to find a Lighthouse report (*${GithubApi.LH_JSON_EXT}) in gist ${id}`);
120120
}
121121
const f = json.files[filename];
122122
if (f.truncated) {

0 commit comments

Comments
 (0)