This commit is contained in:
eshengsky
2019-06-19 14:04:31 +08:00
parent 53513a9327
commit a324417752
12 changed files with 757 additions and 1106 deletions

2
app.js
View File

@@ -29,7 +29,7 @@ process.on('uncaughtException', err => {
* 记录未处理的Promise失败
*/
process.on('unhandledRejection', reason => {
logger.errLogger(err);
logger.errLogger(reason);
});
// 设置模板引擎