Documentation

Overview

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

    Index

    Constants

    View Source
    const FrameworkName string = "Revel"

      FrameworkName is the name of the framework this middleware applies to

      Variables

      This section is empty.

      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.

        Types

        This section is empty.

        Source Files