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

View file

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