mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:33:25 +00:00
Update startup.mjs
This commit is contained in:
@@ -26,7 +26,11 @@ try {
|
|||||||
});
|
});
|
||||||
} finally {
|
} finally {
|
||||||
server.httpServer.close();
|
server.httpServer.close();
|
||||||
await browser.close();
|
try {
|
||||||
|
await browser.close();
|
||||||
|
} catch (e) {
|
||||||
|
console.error('Failed to close browser:', e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('Success!');
|
console.log('Success!');
|
||||||
|
Reference in New Issue
Block a user