Skip to content

Commit

Permalink
fix(GODT-2437): Silence harmless report to sentry. (#358)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlejeune74 committed May 25, 2023
1 parent 395f1bc commit a08bb82
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/backend/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package backend
import (
"context"
"fmt"
"github.com/ProtonMail/gluon/internal/utils"
"sync"

"github.com/ProtonMail/gluon/async"
Expand All @@ -13,6 +12,7 @@ import (
"github.com/ProtonMail/gluon/internal/db/ent"
"github.com/ProtonMail/gluon/internal/ids"
"github.com/ProtonMail/gluon/internal/state"
"github.com/ProtonMail/gluon/internal/utils"
"github.com/ProtonMail/gluon/limits"
"github.com/ProtonMail/gluon/logging"
"github.com/ProtonMail/gluon/reporter"
Expand Down Expand Up @@ -146,10 +146,6 @@ func newUser(

if err := user.cleanupStaleStoreData(ctx); err != nil {
logrus.WithError(err).Error("Failed to cleanup stale store data")
reporter.MessageWithContext(ctx,
"Failed to cleanup stale store data",
reporter.Context{"error": err},
)
}

user.updateWG.Add(1)
Expand Down

0 comments on commit a08bb82

Please sign in to comment.