Improve installation error message

This commit is contained in:
Johan Haals
2021-01-14 13:46:01 +01:00
parent ca875e6658
commit 58cb92f91e
2 changed files with 2 additions and 2 deletions
@@ -170,7 +170,7 @@ describe('GithubCredentialsProvider tests', () => {
url: 'https://github.com/backstage',
}),
).rejects.toThrow(
'Application must be installed for the entire organization',
'The Backstage GitHub application used in the backstage organization must be installed for the entire organization to be able to issue credentials without a specified repository.',
);
});
@@ -88,7 +88,7 @@ class GithubAppManager {
if (repositorySelection !== 'all' && !repo) {
throw new Error(
'Application must be installed for the entire organization',
`The Backstage GitHub application used in the ${owner} organization must be installed for the entire organization to be able to issue credentials without a specified repository.`,
);
}