You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Unable to access repository "{0}" with the current GitHub account ({1}). You may have multiple GitHub accounts configured. Would you like to check your account preferences?',
Copy file name to clipboardExpand all lines: src/github/folderRepositoryManager.ts
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1360,10 +1360,17 @@ export class FolderRepositoryManager extends Disposable {
1360
1360
}catch(e){
1361
1361
Logger.error(`Fetching pull request with query failed: ${e}`,this.id);
1362
1362
if(e.status===404){
1363
-
// not found
1364
-
vscode.window.showWarningMessage(
1365
-
`Fetching pull requests for remote ${githubRepository.remote.remoteName} with query failed, please check if the repo ${githubRepository.remote.owner}/${githubRepository.remote.repositoryName} is valid.`,
1366
-
);
1363
+
// not found - this might be due to using the wrong account
vscode.l10n.t('Fetching pull requests for remote {0} with query failed, please check if the repo {1} is valid.',githubRepository.remote.remoteName,repoName),
0 commit comments