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();
-  });
 };