Skip to content

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

auth: log team id

Gergő Móricz7bde0340209a
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index c201c2edb..8d5a56439 100644
--- a/apps/api/src/controllers/auth.ts
+++ b/apps/api/src/controllers/auth.ts
@@ -269,7 +269,7 @@ export async function supaAuthenticateUser(
try {
await rateLimiter.consume(team_endpoint_token);
} catch (rateLimiterRes) {
- logger.error(`Rate limit exceeded: ${rateLimiterRes}`);
+ logger.error(`Rate limit exceeded: ${rateLimiterRes}`, { teamId });
const secs = Math.round(rateLimiterRes.msBeforeNext / 1000) || 1;
const retryDate = new Date(Date.now() + rateLimiterRes.msBeforeNext);