twitch-bot/internal/helpers/helpers.go
Knut Ahlers 49aba55cfe
[core] Clean IPs from socket errors
in order not to log IPs (GDPR) and also to prevent spread of errors in
Sentry logging as IP/Port combinations are unique per connection and
therefore will spam with many unique errors. By removing the unique
information from the error the errors should be groupable again.

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-24 14:59:36 +02:00

3 lines
89 B
Go

// Package helpers contains helpers to assist in other parts of the code
package helpers