Skip to content

Commit d239906

Browse files
authored
1 parent c0d25ff commit d239906

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/vs/workbench/services/userDataProfile/common/remoteUserDataProfiles.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { IUserDataProfileService } from './userDataProfile.js';
1515
import { distinct } from '../../../../base/common/arrays.js';
1616
import { IWorkbenchEnvironmentService } from '../../environment/common/environmentService.js';
1717
import { UserDataProfilesService } from '../../../../platform/userDataProfile/common/userDataProfileIpc.js';
18+
import { ErrorNoTelemetry } from '../../../../base/common/errors.js';
1819

1920
const associatedRemoteProfilesKey = 'associatedRemoteProfiles';
2021

@@ -81,7 +82,7 @@ class RemoteUserDataProfilesService extends Disposable implements IRemoteUserDat
8182
await this.initPromise;
8283

8384
if (!this.remoteUserDataProfilesService) {
84-
throw new Error('Remote profiles service not available in the current window');
85+
throw new ErrorNoTelemetry('Remote profiles service not available in the current window');
8586
}
8687

8788
return this.remoteUserDataProfilesService.profiles;
@@ -91,7 +92,7 @@ class RemoteUserDataProfilesService extends Disposable implements IRemoteUserDat
9192
await this.initPromise;
9293

9394
if (!this.remoteUserDataProfilesService) {
94-
throw new Error('Remote profiles service not available in the current window');
95+
throw new ErrorNoTelemetry('Remote profiles service not available in the current window');
9596
}
9697

9798
return this.getAssociatedRemoteProfile(localProfile, this.remoteUserDataProfilesService);

0 commit comments

Comments
 (0)