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.
-
Copy addon files to a
BugsnagLogging
folder under the default statamic addons folder. Typically somewhere like:site/addons/BugsnagLogging
-
Run
php please update:addons
on the commandline in the root folder of your statamic site. This will download the necessary Bugsnag dependencies. -
Add your Bugsnag API key to your site's
.env
file like so:BUGSNAG_APIKEY="YourBugsnagApiKeyHere"
-
That's it! Test by doing something to cause an exception on your site and see if it shows up in Bugsnag.
-
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.