From d9f577d9ed173c57a5e4371882c1a988f5b07f08 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Wed, 19 Nov 2025 18:32:29 -0800 Subject: [PATCH] fix: errors fetching secrets are nonblocking for local configs --- core/config/yaml/LocalPlatformClient.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/config/yaml/LocalPlatformClient.ts b/core/config/yaml/LocalPlatformClient.ts index fe682396f64..c93b69530f8 100644 --- a/core/config/yaml/LocalPlatformClient.ts +++ b/core/config/yaml/LocalPlatformClient.ts @@ -97,7 +97,12 @@ export class LocalPlatformClient implements PlatformClient { return []; } - const results = await this.client.resolveFQSNs(fqsns, this.orgScopeId); + let results: (SecretResult | undefined)[] = []; + try { + results = await this.client.resolveFQSNs(fqsns, this.orgScopeId); + } catch (e) { + console.error("Error getting secrets from control plane", e); + } // For any secret that isn't found, look in .env files, then process.env for (let i = 0; i < results.length; i++) {