mirror of
https://github.com/sussy-code/providers.git
synced 2026-03-11 17:55:37 +00:00
Update startup.mjs
This commit is contained in:
parent
035b2e3ea7
commit
d6824f1b71
1 changed files with 5 additions and 1 deletions
|
|
@ -26,7 +26,11 @@ try {
|
|||
});
|
||||
} finally {
|
||||
server.httpServer.close();
|
||||
await browser.close();
|
||||
try {
|
||||
await browser.close();
|
||||
} catch (e) {
|
||||
console.error('Failed to close browser:', e);
|
||||
}
|
||||
}
|
||||
|
||||
console.log('Success!');
|
||||
|
|
|
|||
Loading…
Reference in a new issue