Improve installation error message
This commit is contained in:
@@ -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.`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user