Skip to content

Commit 314ddbc

Browse files
author
Santosh Sutar
committed
Add puppeteer launch flag to ignore https errors
1 parent 67c2138 commit 314ddbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gather-telemetry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const puppeteer = require("puppeteer");
22
const cache = require("./cache");
33

44
module.exports = async function gatherTelemetry(url) {
5-
const browser = await puppeteer.launch();
5+
const browser = await puppeteer.launch({ ignoreHTTPSErrors: true });
66
const page = await browser.newPage();
77

88
await page.goto(url);

0 commit comments

Comments
 (0)