mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 13:39:22 +01:00
chore: add debugging and logging when no valid token is found (#25380)
This commit is contained in:
parent
d81dbbf220
commit
eba5bb5515
@ -112,6 +112,8 @@ func (c *PostHogKafkaConsumer) Consume() {
|
||||
if phEvent.Token == "" {
|
||||
if tokenValue, ok := phEvent.Properties["token"].(string); ok {
|
||||
phEvent.Token = tokenValue
|
||||
} else {
|
||||
log.Printf("No valid token found in event %s", string(msg.Value))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user