Skip to content

A small addon for Statamic to send Exception notices to Bugsnag

License

Notifications You must be signed in to change notification settings

TheLifeProject/bugsnag-for-statamic

Repository files navigation

Bugsnag Exception Logging For Statamic

This addon will extend the built-in Statamic exception handling to allow sending exceptions to Bugsnag in addition to the default handling on the site.

Installation Instructions:

  1. Copy addon files to a BugsnagLogging folder under the default statamic addons folder. Typically somewhere like: site/addons/BugsnagLogging

  2. Run php please update:addons on the commandline in the root folder of your statamic site. This will download the necessary Bugsnag dependencies.

  3. Add your Bugsnag API key to your site's .env file like so: BUGSNAG_APIKEY="YourBugsnagApiKeyHere"

  4. That's it! Test by doing something to cause an exception on your site and see if it shows up in Bugsnag.

Followup Notes:

  • Please post any issues you experience to https://github.com/TheLifeProject/bugsnag-for-statamic/issues

  • Feature requests and suggestions are welcome.

  • This software package comes with no warranty either stated or implied. We do our best to ensure it functions well, but ultimately you use it at your own risk.

About

A small addon for Statamic to send Exception notices to Bugsnag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages