mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-26 11:34:14 +00:00
Make an error an error
This commit is contained in:
parent
11a677b1cc
commit
589f40869b
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ async function testPage({ url, name, firstTrackText }) {
|
|||
} catch (e) {
|
||||
log(`🛑 Errored in [${name}]. Wrote screenshot to ./error.png`);
|
||||
await page.screenshot({ path: "error.png", fullPage: true });
|
||||
console.error(e);
|
||||
throw e;
|
||||
} finally {
|
||||
log("DONE");
|
||||
await browser.close();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue