raven

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package raven implements the remote error tracking package using sentry.io

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckClosure

func CheckClosure(obj io.Closer)

CheckClosure checks for errors on closeable objects

func CheckClosureNonFatal

func CheckClosureNonFatal(obj io.Closer)

CheckClosureNonFatal checks for errors on closeable objects simply warning the user and not exiting the application

func CheckError

func CheckError(err error)

CheckError checks if the passed error is not nil and passes it to the sentry DSN

func CheckErrorNonFatal

func CheckErrorNonFatal(err error)

CheckErrorNonFatal checks if the passed error is not nil and pass it to the sentry DSN, contrary to CheckError the log will not be fatal resulting in the application to continue running

func SetupSentry

func SetupSentry()

SetupSentry initializes the sentry

Types

This section is empty.

Jump to

Keyboard shortcuts

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