From f121d5192d610ed60d271e4d573686561b9b3acf Mon Sep 17 00:00:00 2001 From: Tiina Turban Date: Thu, 21 Sep 2023 12:57:02 +0200 Subject: [PATCH] chore: Log token when team missing (#17557) Log token when team missing --- .../session-recording/session-recordings-consumer-v2.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin-server/src/main/ingestion-queues/session-recording/session-recordings-consumer-v2.ts b/plugin-server/src/main/ingestion-queues/session-recording/session-recordings-consumer-v2.ts index 8e0473df357fe..c80f9742c95d9 100644 --- a/plugin-server/src/main/ingestion-queues/session-recording/session-recordings-consumer-v2.ts +++ b/plugin-server/src/main/ingestion-queues/session-recording/session-recordings-consumer-v2.ts @@ -261,6 +261,7 @@ export class SessionRecordingIngesterV2 { .inc() return statusWarn('team_missing_or_disabled', { + token: messagePayload.token, teamId: messagePayload.team_id, payloadTeamSource: messagePayload.team_id ? 'team' : messagePayload.token ? 'token' : 'unknown', })