mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-12 11:30:01 -04:00
Attempt to catch server start errors in the GitHub workflow.
This commit is contained in:
parent
1b985743e8
commit
a1f4c13fc5
1 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
(async () => {
|
||||
await import("./src/server.mjs");
|
||||
try {
|
||||
await import("./src/server.mjs");
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue