itizawa 6 năm trước cách đây
mục cha
commit
176f165b7d
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      src/server/routes/index.js

+ 0 - 4
src/server/routes/index.js

@@ -182,8 +182,4 @@ module.exports = function(crowi, app) {
   app.get('/*/$'                   , loginRequired , page.showPageWithEndOfSlash, page.notFound);
   app.get('/*'                     , loginRequired , page.showPage, page.notFound);
 
-  app.use((err, req, res, next) => {
-    console.log('エラー発生');
-    res.status(500).send('Something Wrong').end();
-  });
 };