Skip to content

Commit c9a9327

Browse files
committed
Ignore helpless error reports in proxy
1 parent 3649e17 commit c9a9327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/local-ssh/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function getClientOptions(): ClientOptions {
4646
type FailedToProxyCode = 'SSH.AuthenticationFailed' | 'TUNNEL.AuthenticateSSHKeyFailed' | 'NoRunningInstance' | 'FailedToGetAuthInfo' | 'GitpodHostMismatch' | 'NoAccessTokenFound';
4747

4848
// IgnoredFailedCodes contains the failreCode that don't need to send error report
49-
const IgnoredFailedCodes: (FailedToProxyCode | string)[] = ['NoRunningInstance'];
49+
const IgnoredFailedCodes: (FailedToProxyCode | string)[] = ['NoRunningInstance', 'FailedToGetAuthInfo:UNAVAILABLE', 'FailedToGetAuthInfo:CANCELLED"'];
5050

5151
class FailedToProxyError extends Error {
5252
constructor(public readonly failureCode: FailedToProxyCode | string, originError?: Error) {

0 commit comments

Comments
 (0)