Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.go b/app.go
index c00540f3..2c3bf348 100644
--- a/app.go
+++ b/app.go
@@ -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