Skip to content

Commit

Permalink
fix: Fix chrome-launcher error preventing reports being generated (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
aitchiss authored Apr 21, 2023
1 parent f157bef commit ae6e28e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/run-audit-with-server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const runAuditWithServer = async ({
};
}
} catch (error) {
console.warn(error);
return { error };
}
};
Expand Down
2 changes: 1 addition & 1 deletion src/lighthouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const runLighthouse = async (browserPath, url, settings) => {
return results;
} finally {
if (chrome) {
await chrome.kill().catch(() => undefined);
await chrome.kill();
}
}
};

0 comments on commit ae6e28e

Please sign in to comment.