mirror of https://github.com/calzoneman/sync.git
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');
|
||||
process.on('unhandledRejection', function (reason, promise) {
|
||||
LOGGER.fatal('Unhandled rejection: %s', reason.stack);
|
||||
LOGGER.error('Unhandled rejection: %s', reason.stack);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue