package bugsnagrevel

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

Package bugsnagrevel adds Bugsnag to revel. It lets you pass *revel.Controller into bugsnag.Notify(), and provides a Filter to catch errors.

Index

Constants

const FrameworkName string = "Revel"

FrameworkName is the name of the framework this middleware applies to

Functions

func Filter

func Filter(c *revel.Controller, fc []revel.Filter)

Filter should be added to the filter chain just after the PanicFilter. It sends errors to Bugsnag automatically. Configuration is read out of conf/app.conf, you should set bugsnag.apikey, and can also set bugsnag.endpoints, bugsnag.releasestage, bugsnag.apptype, bugsnag.appversion, bugsnag.projectroot, bugsnag.projectpackages if needed.

Source Files

bugsnagrevel.go

Version
v1.9.1
Published
Oct 12, 2022
Platform
js/wasm
Imports
6 packages
Last checked
8 hours ago

Tools for package owners.