package bugsnaggin

import "github.com/bugsnag/bugsnag-go/gin"

Index

Constants

const FrameworkName string = "Gin"

Functions

func AutoNotify

func AutoNotify(rawData ...interface{}) gin.HandlerFunc

AutoNotify sends any panics to bugsnag, and then re-raises them. You should use this after another middleware that returns an error page to the client, for example gin.Recovery(). The arguments can be any RawData to pass to Bugsnag, most usually you'll pass a bugsnag.Configuration object.

Source Files

bugsnaggin.go

Version
v2.1.0+incompatible
Published
Jan 27, 2021
Platform
js/wasm
Imports
3 packages
Last checked
8 hours ago

Tools for package owners.