Skip to content

Commit

Permalink
Attempt to catch server start errors in the GitHub workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
00Fjongl committed Jul 25, 2024
1 parent 1b98574 commit a1f4c13
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion backend.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
(async () => {
await import("./src/server.mjs");
try {
await import("./src/server.mjs");
} catch (e) {
console.error(e);
process.exit(1);
}
})();

0 comments on commit a1f4c13

Please sign in to comment.