File: capture.go

package info (click to toggle)
golang-gitlab-gitlab-org-labkit 1.17.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,092 kB
  • sloc: sh: 210; javascript: 49; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
package errortracking

// Capture reports an error to the error reporting service.
func Capture(err error, opts ...CaptureOption) {
	DefaultTracker().Capture(err, opts...)
}