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
@@ -585,7 +588,7 @@ export class GitHubRepository implements vscode.Disposable {
585
588
if(e.code===404){
586
589
// not found
587
590
vscode.window.showWarningMessage(
588
-
`Fetching pull requests for remote '${this.remote.remoteName}' failed, please check if the url${this.remote.url} is valid.`,
591
+
`Fetching all pull requests for remote '${remote?.remoteName}' failed, please check if the repository${remote?.owner}/${remote?.repositoryName} is valid.`,
589
592
);
590
593
}else{
591
594
throwe;
@@ -595,9 +598,12 @@ export class GitHubRepository implements vscode.Disposable {
Logger.error(`Fetching pull requests for branch failed: ${e}`,GitHubRepository.ID);
626
+
Logger.error(`Fetching pull request for branch failed: ${e}`,GitHubRepository.ID);
621
627
if(e.code===404){
622
628
// not found
623
629
vscode.window.showWarningMessage(
624
-
`Fetching pull requests for remote '${this.remote.remoteName}' failed, please check if the url${this.remote.url} is valid.`,
630
+
`Fetching pull request for branch for remote '${remote?.remoteName}' failed, please check if the repository${remote?.owner}/${remote?.repositoryName} is valid.`,
625
631
);
626
632
}
627
633
}
@@ -866,13 +872,14 @@ export class GitHubRepository implements vscode.Disposable {
0 commit comments