Change unhandledRejection from fatal log level to error

This commit is contained in:
Calvin Montgomery 2017-08-14 20:35:30 -07:00
parent 2990d83c02
commit 9ee650461f
1 changed files with 1 additions and 1 deletions

View File

@ -106,5 +106,5 @@ process.on('SIGUSR2', () => {
require('bluebird'); require('bluebird');
process.on('unhandledRejection', function (reason, promise) { process.on('unhandledRejection', function (reason, promise) {
LOGGER.fatal('Unhandled rejection: %s', reason.stack); LOGGER.error('Unhandled rejection: %s', reason.stack);
}); });