Browse Source

Changed error message

Steven Fukase 4 years ago
parent
commit
b4472088e9
1 changed files with 2 additions and 2 deletions
  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) {
         catch (error) {
-          const msg = 'Error occured in testing connection statuses';
+          const msg = 'Incorrect Proxy URL';
           logger.error('Error', error);
           logger.error('Error', error);
-          return res.apiv3Err(new ErrorV3(msg, 'get-connection-failed'), 500);
+          return res.apiv3Err(new ErrorV3(msg, 'test-connection-failed'), 400);
         }
         }
       }
       }
     }
     }