Parcourir la source

fix error message

zahmis il y a 4 ans
Parent
commit
72d429eaf3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/slack/src/utils/check-communicable.ts

+ 1 - 1
packages/slack/src/utils/check-communicable.ts

@@ -49,7 +49,7 @@ const checkSlackScopes = (resultTestSlackApiServer: any) => {
   const isPassedScopeCheck = correctScopes.every(e => slackScopes.includes(e));
 
   if (!isPassedScopeCheck) {
-    throw new Error('Scope error');
+    throw new Error('The scopes is not appropriate. Required scopes is [Rcommands], [team:read], and [chat:write].');
   }
 };