diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-05-04 15:16:31 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-05-04 15:16:31 +0300 |
commit | 44bb18ecb6f8f5a14b62fea42614699ca022c594 (patch) | |
tree | 1e7e25fb9e378570afcff4a638a483c17dfe7809 /app.go | |
parent | faa36c0b6f318e19c081ce6a7fc59f6659738387 (diff) |
Apply 1 suggestion(s) to 1 file(s)
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ func (a *theApp) routingMiddleware(handler http.Handler) http.Handler { host, d, err := a.getHostAndDomain(r) if err != nil && !errors.Is(err, domain.ErrDomainDoesNotExist) { metrics.DomainsSourceFailures.Inc() - log.WithError(err).WithField("domain", r.Host).Error("could not fetch domain information from a source") + logging.LogRequest(r).WithError(err).Error("could not fetch domain information from a source") httperrors.Serve502(w) return |