Skip to content

Commit a785cd9

Browse files
authored
Ignore an error when we lose connectivity (#6717)
Fixes #6681
1 parent c70fcb0 commit a785cd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/github/folderRepositoryManager.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2537,6 +2537,8 @@ export class FolderRepositoryManager extends Disposable {
25372537
if (e.stderr) {
25382538
if ((e.stderr as string).startsWith('fatal: couldn\'t find remote ref')) {
25392539
// We've managed to check out the PR, but the remote has been deleted. This is fine, but we can't fetch now.
2540+
} else if ((e.stderr as string).includes('key_exchange_identification')) {
2541+
// Another reason we can't fetch now. https://github.com/microsoft/vscode-pull-request-github/issues/6681
25402542
} else {
25412543
vscode.window.showErrorMessage(vscode.l10n.t('An error occurred when fetching the repository: {0}', e.stderr));
25422544
}

0 commit comments

Comments
 (0)