diff --git a/src/index.js b/src/index.js index 145da18..b2115c7 100644 --- a/src/index.js +++ b/src/index.js @@ -7,7 +7,7 @@ const logger = createLogger() process.on('unhandledRejection', (error) => { logger.info('Unhandled rejection') logger.error(error) - process.exit(1) + throw error }) /**