File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/vs/workbench/services/userDataProfile/common Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { IUserDataProfileService } from './userDataProfile.js';
15
15
import { distinct } from '../../../../base/common/arrays.js' ;
16
16
import { IWorkbenchEnvironmentService } from '../../environment/common/environmentService.js' ;
17
17
import { UserDataProfilesService } from '../../../../platform/userDataProfile/common/userDataProfileIpc.js' ;
18
+ import { ErrorNoTelemetry } from '../../../../base/common/errors.js' ;
18
19
19
20
const associatedRemoteProfilesKey = 'associatedRemoteProfiles' ;
20
21
@@ -81,7 +82,7 @@ class RemoteUserDataProfilesService extends Disposable implements IRemoteUserDat
81
82
await this . initPromise ;
82
83
83
84
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' ) ;
85
86
}
86
87
87
88
return this . remoteUserDataProfilesService . profiles ;
@@ -91,7 +92,7 @@ class RemoteUserDataProfilesService extends Disposable implements IRemoteUserDat
91
92
await this . initPromise ;
92
93
93
94
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' ) ;
95
96
}
96
97
97
98
return this . getAssociatedRemoteProfile ( localProfile , this . remoteUserDataProfilesService ) ;
You can’t perform that action at this time.
0 commit comments