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.5.1+incompatible (latest)
Published
Oct 21, 2024
Platform
js/wasm
Imports
3 packages
Last checked
4 minutes ago

Tools for package owners.