Fix UnhandledRejection handle message

This commit is contained in:
ziajka 2019-02-20 12:36:09 +01:00
parent cdadbd9140
commit 85a5ece8ae

View File

@ -215,7 +215,7 @@ if (require.main === module) {
});
process.on('unhandledRejection', (reason, promise) => {
console.log(`UnhandledRejection occured 'reason'`);
console.log(`UnhandledRejection occured '${reason}'`);
process.exit(1);
});