Ivan Greenking 1 anno fa
parent
commit
faf1089687
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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)
+})
+