fix: no more crashes on empty message. (#27899)

This commit is contained in:
Paweł Szczur
2025-01-27 09:49:52 +01:00
committed by GitHub
parent 377ecab82a
commit dd562753fb

View File

@@ -83,6 +83,7 @@ func (c *PostHogKafkaConsumer) Consume() {
if err != nil {
log.Printf("Error consuming message: %v", err)
sentry.CaptureException(err)
continue
}
var wrapperMessage PostHogEventWrapper