Ivan Greenking 1 年之前
父节点
当前提交
faf1089687
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      index.js

+ 4 - 0
index.js

@@ -185,3 +185,7 @@ const upload  = require('multer')({ dest: uploadPath })
     });
 })()
 
+process.on('uncaughtException', (error) => {
+	console.log('UNCAUGHT EXCEPTION', error)
+})
+