Skip to content

Commit

Permalink
Don't catch; quit with error
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Aug 8, 2023
1 parent 652ed0e commit 0b55061
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@ const runPlayout = async () => {
}
};

(async () => {
try {
log.info(`Starting playout at ${new Date().toLocaleString()}`);
startWebsocketServer(8080);
await runPlayout();
} catch (e) {
log.error(e);
}
})();
log.info(`playout starting`);

startWebsocketServer(8080);
await runPlayout();

0 comments on commit 0b55061

Please sign in to comment.