From 720bb0661fd6a99f00ae5ac9b029b5b15a7e7df6 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Fri, 14 Mar 2025 19:11:43 -0700 Subject: [PATCH] more error stuff --- core/config/profile/ControlPlaneProfileLoader.ts | 7 +------ core/config/profile/PlatformProfileLoader.ts | 5 +---- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/core/config/profile/ControlPlaneProfileLoader.ts b/core/config/profile/ControlPlaneProfileLoader.ts index cce940ab7..8d12e771f 100644 --- a/core/config/profile/ControlPlaneProfileLoader.ts +++ b/core/config/profile/ControlPlaneProfileLoader.ts @@ -61,7 +61,7 @@ export default class ControlPlaneProfileLoader implements IProfileLoader { )) as any); const serializedConfig: SerializedContinueConfig = settings; - const results = await doLoadConfig( + return await doLoadConfig( this.ide, this.ideSettingsPromise, this.controlPlaneClient, @@ -72,11 +72,6 @@ export default class ControlPlaneProfileLoader implements IProfileLoader { this.workspaceId, undefined, ); - - return { - ...results, - errors: [], // Don't do config validation here, it happens in admin panel - }; } setIsActive(isActive: boolean): void {} diff --git a/core/config/profile/PlatformProfileLoader.ts b/core/config/profile/PlatformProfileLoader.ts index 329a7a59e..e73b6d6c9 100644 --- a/core/config/profile/PlatformProfileLoader.ts +++ b/core/config/profile/PlatformProfileLoader.ts @@ -103,10 +103,7 @@ export default class PlatformProfileLoader implements IProfileLoader { undefined, ); - return { - ...results, - errors: [], // Don't do config validation here, it happens in admin panel - }; + return results; } setIsActive(isActive: boolean): void {}