Skip to content

Commit 61d8097

Browse files
authored
Merge pull request #104181 from eltociear/patch-3
2 parents acf79d9 + c6bed39 commit 61d8097

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/platform/remote/common/remoteAgentConnection.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -453,24 +453,24 @@ abstract class PersistentConnection extends Disposable {
453453
break;
454454
}
455455
if (RemoteAuthorityResolverError.isTemporarilyNotAvailable(err)) {
456-
this._options.logService.info(`${logPrefix} A temporarily not available error occured while trying to reconnect, will try again...`);
456+
this._options.logService.info(`${logPrefix} A temporarily not available error occurred while trying to reconnect, will try again...`);
457457
this._options.logService.trace(err);
458458
// try again!
459459
continue;
460460
}
461461
if ((err.code === 'ETIMEDOUT' || err.code === 'ENETUNREACH' || err.code === 'ECONNREFUSED' || err.code === 'ECONNRESET') && err.syscall === 'connect') {
462-
this._options.logService.info(`${logPrefix} A network error occured while trying to reconnect, will try again...`);
462+
this._options.logService.info(`${logPrefix} A network error occurred while trying to reconnect, will try again...`);
463463
this._options.logService.trace(err);
464464
// try again!
465465
continue;
466466
}
467467
if (isPromiseCanceledError(err)) {
468-
this._options.logService.info(`${logPrefix} A promise cancelation error occured while trying to reconnect, will try again...`);
468+
this._options.logService.info(`${logPrefix} A promise cancelation error occurred while trying to reconnect, will try again...`);
469469
this._options.logService.trace(err);
470470
// try again!
471471
continue;
472472
}
473-
this._options.logService.error(`${logPrefix} An unknown error occured while trying to reconnect, since this is an unknown case, it will be treated as a permanent error! Will give up now! Error:`);
473+
this._options.logService.error(`${logPrefix} An unknown error occurred while trying to reconnect, since this is an unknown case, it will be treated as a permanent error! Will give up now! Error:`);
474474
this._options.logService.error(err);
475475
PersistentConnection.triggerPermanentFailure();
476476
break;

0 commit comments

Comments
 (0)