mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:23:24 +00:00
Update startup.mjs
This commit is contained in:
@@ -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!');
|
||||
|
Reference in New Issue
Block a user