提交 da226c83 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

try to suppress unhandled exceptions in 3rd party library #122

上级 5cf4a4be
......@@ -205,5 +205,7 @@ export {
* to handle unhandled exceptions
*/
process.on('unhandledRejection', (reason, promise) => {
log.error('Config', '###########################')
log.error('Config', 'unhandledRejection: %s %s', reason, promise)
log.error('Config', '###########################')
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册