Skip to content

Commit cd02930

Browse files
authored
Merge pull request #139 from paulirish/throw-console
metrics throw -> console message
2 parents 30357df + 5b57b04 commit cd02930

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/metrics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838
const checkAudits = (audits: LighthouseAudits) => Object.keys(audits).forEach(key => {
3939
const debugString = audits[key].debugString;
4040
if (audits[key].debugString)
41-
throw new Error(`${debugString} Audit key: ${key}`);
41+
console.log(`${debugString} Audit key: ${key}`);
4242
});
4343

4444
function prepareData(res: LighthouseResults): MetricsResults {

0 commit comments

Comments
 (0)