fix(GODT-2437): Silence harmless report to sentry.

This commit is contained in:
Romain LE JEUNE
2023-05-24 17:18:56 +02:00
parent f6741a9b58
commit 84a771d9fe
3 changed files with 0 additions and 24 deletions

View File

@ -83,15 +83,6 @@ func (user *User) handleRefreshEvent(ctx context.Context, refresh proton.Refresh
l.Info("Handling refresh event")
if err := user.reporter.ReportMessageWithContext("Warning: refresh occurred", map[string]interface{}{
"EventLoop": map[string]interface{}{
"EventID": eventID,
"Refresh": refresh,
},
}); err != nil {
l.WithError(err).Error("Failed to report refresh to sentry")
}
// Abort the event stream
defer user.pollAbort.Abort()