Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Suppressed repetitive logs

tak-saf9bc5c8bbe3
diff --git a/apps/api/src/services/supabase.ts b/apps/api/src/services/supabase.ts
index d34f7b521..70ada12be 100644
--- a/apps/api/src/services/supabase.ts
+++ b/apps/api/src/services/supabase.ts
@@ -36,17 +36,9 @@ export const supabase_service: SupabaseClient = new Proxy(
new SupabaseService(),
{
get: function (target, prop, receiver) {
- if (process.env.USE_DB_AUTHENTICATION === "false") {
- Logger.debug(
- "Attempted to access Supabase client when it's not configured."
- );
- }
const client = target.getClient();
// If the Supabase client is not initialized, intercept property access to provide meaningful error feedback.
if (client === null) {
- Logger.error(
- "Attempted to access Supabase client when it's not configured."
- );
return () => {
throw new Error("Supabase client is not configured.");
};