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 /helpers.go
parentd228c13c76d11091f8514e40940dc7df1b633e5a (diff)
chore: upgrade to labkit 1.11.0
And report stack trace with error tracking to Sentry. Changelog: other
Diffstat (limited to 'helpers.go')
-rw-r--r--helpers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers.go b/helpers.go
index 17b464d0..aaa6f3e6 100644
--- a/helpers.go
+++ b/helpers.go
@@ -32,6 +32,7 @@ func fileForListener(l net.Listener) *os.File {
}
func capturingFatal(err error, fields ...errortracking.CaptureOption) {
+ fields = append(fields, errortracking.WithStackTrace())
errortracking.Capture(err, fields...)
fatal(err, "capturing fatal")
}