Ivan Greenking 1 năm trước cách đây
mục cha
commit
faf1089687
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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)
+})
+