Skip to content

Commit

Permalink
Remove legacy unhandledRejection exit code
Browse files Browse the repository at this point in the history
This is now the default nodejs/node#33021
  • Loading branch information
colinrotherham committed Mar 14, 2024
1 parent 65da8ea commit 536a78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -7,7 +7,7 @@ const logger = createLogger()
process.on('unhandledRejection', (error) => {
logger.info('Unhandled rejection')
logger.error(error)
process.exit(1)
throw error
})

/**
Expand Down

0 comments on commit 536a78b

Please sign in to comment.