bugsnag-go: github.com/bugsnag/bugsnag-go/revel Index | Files

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.


Package Files



const FrameworkName string = "Revel"

FrameworkName is the name of the framework this middleware applies to

func Filter Uses

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.

Package bugsnagrevel imports 6 packages (graph) and is imported by 2 packages. Updated 2019-08-14. Refresh now. Tools for package owners.