crashreport

package
v0.3.0-rc.2.0...-51e5094 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Disabled = false

Disabled flag is used to globally disable crash reporting and make all the crash reporting logic a no-op.

Functions

func CaptureError

func CaptureError(err error, tags map[string]string) string

CaptureError is a wrapper around raven.CaptureError

func CaptureErrorAndWait

func CaptureErrorAndWait(err error, tags map[string]string) string

CaptureErrorAndWait is a wrapper around raven.CaptureErrorAndWait

func CapturePanic

func CapturePanic(f func(), tags map[string]string) (interface{}, string)

CapturePanic is a wrapper around raven.CapturePanic that becomes a noop if `Disabled` is set to true.

func CapturePanicAndWait

func CapturePanicAndWait(f func(), tags map[string]string) (interface{}, string)

CapturePanicAndWait is a wrapper around raven.CapturePanicAndWait that becomes a noop if `Disabled` is set to true.

func Wait

func Wait()

Wait will block on sending messages to the sentry server

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL