Change unhandledRejection from fatal log level to error
This commit is contained in:
parent
2990d83c02
commit
9ee650461f
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue