Skip to content

Commit ae6e28e

Browse files
authored
fix: Fix chrome-launcher error preventing reports being generated (#573)
1 parent f157bef commit ae6e28e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/lib/run-audit-with-server/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ const runAuditWithServer = async ({
5555
};
5656
}
5757
} catch (error) {
58+
console.warn(error);
5859
return { error };
5960
}
6061
};

src/lighthouse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const runLighthouse = async (browserPath, url, settings) => {
4040
return results;
4141
} finally {
4242
if (chrome) {
43-
await chrome.kill().catch(() => undefined);
43+
await chrome.kill();
4444
}
4545
}
4646
};

0 commit comments

Comments
 (0)