itizawa 6 年 前
コミット
176f165b7d
1 ファイル変更0 行追加4 行削除
  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();
-  });
 };