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
v2.5.1+incompatible (latest)
Published
Oct 21, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
12 hours ago

Tools for package owners.