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
path: root/app.go
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2021-05-12 03:37:27 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-05-12 03:37:27 +0300
commitd390505f5c4650992bc3f715ecf5af8e2397b6ca (patch)
tree677c7472a4d4ead2cac947fe0ed6fb8c6f3bec87 /app.go
parent269ee6ef289655b1b6475ac74c656d362c3034b8 (diff)
Log details on failure
Diffstat (limited to 'app.go')
-rw-r--r--app.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/app.go b/app.go
index 058fd3ad..a65170e6 100644
--- a/app.go
+++ b/app.go
@@ -135,7 +135,6 @@ func (a *theApp) tryAuxiliaryHandlers(w http.ResponseWriter, r *http.Request, ht
if err := domain.HasLookupPath(r); err != nil {
if errors.Is(err, gitlab.ErrDiskDisabled) {
errortracking.Capture(err)
- log.WithError(err).Error("tried to serve from disk")
httperrors.Serve500(w)
return true
}