diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-04-20 16:11:45 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-05-20 19:02:40 +0300 |
commit | 624b767137283b6cf28f8b3b69a961ed6b1778e9 (patch) | |
tree | 3e6dccff2fcdb53c9aed0f705053ae64f231e365 /helpers.go | |
parent | a80c58682c3c313f52deecdebecfef2d1f7e3b21 (diff) |
Propagate errors for better handling
Diffstat (limited to 'helpers.go')
-rw-r--r-- | helpers.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/helpers.go b/helpers.go deleted file mode 100644 index 00d6d55b..00000000 --- a/helpers.go +++ /dev/null @@ -1,11 +0,0 @@ -package main - -import ( - "gitlab.com/gitlab-org/labkit/errortracking" -) - -func capturingFatal(err error, fields ...errortracking.CaptureOption) { - fields = append(fields, errortracking.WithStackTrace()) - errortracking.Capture(err, fields...) - fatal(err, "capturing fatal") -} |