소스 검색

Changed error message

Steven Fukase 5 년 전
부모
커밋
b4472088e9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/server/routes/apiv3/slack-integration-settings.js

+ 2 - 2
src/server/routes/apiv3/slack-integration-settings.js

@@ -186,9 +186,9 @@ module.exports = (crowi) => {
           }
         }
         catch (error) {
-          const msg = 'Error occured in testing connection statuses';
+          const msg = 'Incorrect Proxy URL';
           logger.error('Error', error);
-          return res.apiv3Err(new ErrorV3(msg, 'get-connection-failed'), 500);
+          return res.apiv3Err(new ErrorV3(msg, 'test-connection-failed'), 400);
         }
       }
     }