A better catch when failure setting up WPR (#3146)
This commit is contained in:
parent
93885ed298
commit
525b0018ba
|
|
@ -174,7 +174,12 @@ async function runBrowsertime() {
|
|||
const engine = new browsertime.Engine(btOptions);
|
||||
const urls = getURLs(parsed.argv._);
|
||||
|
||||
await testURLs(engine, urls);
|
||||
try {
|
||||
await testURLs(engine, urls);
|
||||
} catch (e) {
|
||||
console.error('Could not run ' + e);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
process.exit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue