mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
chore(livestream): Ignore invalid IP address errors (#23118)
This commit is contained in:
@@ -116,7 +116,7 @@ func (c *KafkaConsumer) Consume() {
|
||||
|
||||
if ipStr != "" {
|
||||
phEvent.Lat, phEvent.Lng, err = c.geolocator.Lookup(ipStr)
|
||||
if err != nil {
|
||||
if err != nil && err.Error() != "invalid IP address" { // An invalid IP address is not an error on our side
|
||||
sentry.CaptureException(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user