diff --git a/go.mod b/go.mod index d13350f1..94ce1caf 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.23 require ( github.com/coreos/go-systemd/v22 v22.5.0 - github.com/getsentry/sentry-go v0.28.1 + github.com/getsentry/sentry-go v0.29.0 github.com/google/uuid v1.6.0 github.com/gorilla/mux v1.8.1 github.com/gorilla/websocket v1.5.3 diff --git a/go.sum b/go.sum index 49bccc6e..a4377d9e 100644 --- a/go.sum +++ b/go.sum @@ -43,8 +43,8 @@ github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4= github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI= github.com/felixge/httpsnoop v1.0.3 h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk= github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/getsentry/sentry-go v0.28.1 h1:zzaSm/vHmGllRM6Tpx1492r0YDzauArdBfkJRtY6P5k= -github.com/getsentry/sentry-go v0.28.1/go.mod h1:1fQZ+7l7eeJ3wYi82q5Hg8GqAPgefRq+FP/QhafYVgg= +github.com/getsentry/sentry-go v0.29.0 h1:YtWluuCFg9OfcqnaujpY918N/AhCCwarIDWOYSBAjCA= +github.com/getsentry/sentry-go v0.29.0/go.mod h1:jhPesDAL0Q0W2+2YEuVOvdWmVtdsr1+jtBrlDEVWwLY= github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA= github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og= github.com/go-jose/go-jose/v3 v3.0.3 h1:fFKWeig/irsp7XD2zBxvnmA/XaRWp5V3CBsZXJF7G7k= diff --git a/pkg/logging/logging_test.go b/pkg/logging/logging_test.go index 4af50315..3489f25c 100644 --- a/pkg/logging/logging_test.go +++ b/pkg/logging/logging_test.go @@ -50,14 +50,14 @@ func (s *MainTestSuite) TestSentryHookDoesNotModifyGlobalScope() { InitializeLogging(logrus.DebugLevel.String(), dto.FormatterText) event := client.EventFromMessage("TestEvent", sentry.LevelError) - event = sentry.CurrentHub().Scope().ApplyToEvent(event, nil) + event = sentry.CurrentHub().Scope().ApplyToEvent(event, nil, client) _, ok := event.Contexts[SentryContextKey] s.Require().False(ok) log.WithField(dto.KeyRunnerID, tests.DefaultRunnerID).Warn("Test") event = client.EventFromMessage("TestEvent", sentry.LevelError) - event = sentry.CurrentHub().Scope().ApplyToEvent(event, nil) + event = sentry.CurrentHub().Scope().ApplyToEvent(event, nil, client) _, ok = event.Contexts[SentryContextKey] s.Require().False(ok) }