Skip to content

Commit

Permalink
Remove unexpected rejection handler
Browse files Browse the repository at this point in the history
  • Loading branch information
cdauth committed Feb 25, 2024
1 parent 21e22fa commit d3f482f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ Object.defineProperty(Error.prototype, "toJSON", {
configurable: true
});

process.on('unhandledRejection', (reason) => {
console.trace("Unhandled rejection", reason);
});

export async function startServer(conf = config): Promise<void> {
const database = new Database(conf.db);

Expand Down

0 comments on commit d3f482f

Please sign in to comment.