Skip to content

Commit

Permalink
style: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Sep 26, 2023
1 parent bd41112 commit b7fb133
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1452,10 +1452,9 @@ async function gracefuShutdown() {
}

process.on('unhandledRejection', (reason) => {
const stack = (reason as any).stack || ''
logger.error(
`Unhandled Rejection, reason: ${reason}${
reason.stack ? `\n${reason.stack}` : ''
}`
`Unhandled Rejection, reason: ${reason}${stack ? `\n${stack}` : ''}`
)
})

Expand Down

0 comments on commit b7fb133

Please sign in to comment.