feat(logs): log the token when we can't find team (#41378)

This commit is contained in:
Frank Hamand
2025-11-12 17:10:04 +00:00
committed by GitHub
parent 94bae2546f
commit 3b2985edca

View File

@@ -114,7 +114,7 @@ export class LogsIngestionConsumer {
if (!team) {
// Write to DLQ topic maybe?
logger.error('team_not_found')
logger.error('team_not_found', { token_with_no_team: token })
logMessageDroppedCounter.inc({ reason: 'team_not_found' })
return
}