diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-05-05 04:42:26 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-05-05 04:42:26 +0300 |
commit | c816897846f8cd622b62088938aa25f186f69204 (patch) | |
tree | 701c973a3c5877d44c42d34e91850e6528bfb4fd /app.go | |
parent | 45671e0982be60f230e7c4d3fcb6c71d3adf5f79 (diff) | |
parent | 44bb18ecb6f8f5a14b62fea42614699ca022c594 (diff) |
Merge branch 'improve/config-error' into 'master'
Add a domain context to domain config retrieval error
Closes #506
See merge request gitlab-org/gitlab-pages!468
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).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 |