diff options
Diffstat (limited to 'workhorse/internal/log')
-rw-r--r-- | workhorse/internal/log/logging.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/workhorse/internal/log/logging.go b/workhorse/internal/log/logging.go index c65ec07743a..9c19cde1395 100644 --- a/workhorse/internal/log/logging.go +++ b/workhorse/internal/log/logging.go @@ -8,11 +8,13 @@ import ( "gitlab.com/gitlab-org/labkit/mask" "golang.org/x/net/context" - "gitlab.com/gitlab-org/gitlab-workhorse/internal/helper" + "gitlab.com/gitlab-org/gitlab-workhorse/internal/errortracker" ) type Fields = log.Fields +type ConfigureLogger func(*Builder) *Builder + type Builder struct { entry *logrus.Entry fields log.Fields @@ -83,6 +85,6 @@ func (b *Builder) Error(args ...interface{}) { b.entry.Error(args...) if b.req != nil && b.err != nil { - helper.CaptureRavenError(b.req, b.err, b.fields) + errortracker.TrackFailedRequest(b.req, b.err, b.fields) } } |