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:
authorJaime Martinez <jmartinez@gitlab.com>2021-12-07 01:51:02 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-12-07 01:53:05 +0300
commit86d8aac645d1a6ccb24ab57c87e4aacf535bec7b (patch)
tree5e9df26a5baac333c18d74835da0fb87a3145eb6 /internal/serving
parentd228c13c76d11091f8514e40940dc7df1b633e5a (diff)
chore: upgrade to labkit 1.11.0
And report stack trace with error tracking to Sentry. Changelog: other
Diffstat (limited to 'internal/serving')
-rw-r--r--internal/serving/disk/reader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/serving/disk/reader.go b/internal/serving/disk/reader.go
index 5a6122df..61316509 100644
--- a/internal/serving/disk/reader.go
+++ b/internal/serving/disk/reader.go
@@ -55,7 +55,7 @@ func (reader *Reader) tryRedirects(h serving.Handler) bool {
if err != redirects.ErrNoRedirect {
// We assume that rewrite failure is not fatal
// and we only capture the error
- errortracking.Capture(err, errortracking.WithRequest(h.Request))
+ errortracking.Capture(err, errortracking.WithRequest(h.Request), errortracking.WithStackTrace())
}
return false
}