From 98982899748f37c6969466cd2c0e9cadf91cd35d Mon Sep 17 00:00:00 2001 From: Saravana Achu Mac Date: Sat, 4 Apr 2026 18:28:19 -0700 Subject: [PATCH] chore(backend): clarify legacy Supabase disabled diagnostic Made-with: Cursor --- backend/src/services/SupabaseService.ts | 6 ++++-- backend/src/services/apiServer.ts | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/src/services/SupabaseService.ts b/backend/src/services/SupabaseService.ts index d02e78b..b5297b4 100644 --- a/backend/src/services/SupabaseService.ts +++ b/backend/src/services/SupabaseService.ts @@ -1,4 +1,4 @@ -import { createClient, SupabaseClient } from '@supabase/supabase-js'; +import { createClient, SupabaseClient } from '@supabase/supabase-js'; import { config } from '../config/index.js'; import logger from '../utils/logger.js'; import { @@ -192,7 +192,9 @@ class SupabaseService { if (config.SUPABASE_URL && config.SUPABASE_KEY) { this.client = createClient(config.SUPABASE_URL, config.SUPABASE_KEY); } else { - logger.warn('Supabase credentials missing. DB integration disabled.'); + logger.warn( + 'Legacy Supabase URL/key not configured; Supabase-backed persistence is disabled. Cosmos-backed paths are unaffected.' + ); } } diff --git a/backend/src/services/apiServer.ts b/backend/src/services/apiServer.ts index caecb95..d54ae69 100644 --- a/backend/src/services/apiServer.ts +++ b/backend/src/services/apiServer.ts @@ -1149,7 +1149,7 @@ export class ApiServer { logger.info('[API] Restored trading control from Cosmos.'); } } catch (error: any) { - logger.error('[API] Failed to restore state from Supabase snapshot:', error); + logger.error('[API] Failed to restore state from snapshot repository:', error); } }