Bugsnag plugin for Craft CMS 3.x
Log Craft errors/exceptions to Bugsnag.
This plugin requires Craft CMS 3.0.0-RC1 or later.
To install the plugin, follow these instructions.
Open your terminal and go to your Craft project:
Then tell Composer to load the plugin:
composer require superbig/craft3-bugsnag
In the Control Panel, go to Settings → Plugins and click the “Install” button for Bugsnag.
Bugsnag's cross platform error monitoring automatically detects crashes in your applications, letting you ship with confidence.
- Copy the config.php configuration file into your
serverApiKeywith a API key from your Bugsnag project.
- (Optionally) Set the
releaseStageconfiguration setting to something. Defaults to
It will automatically log most exceptions/errors. If you want to log a exceptions/error from an custom plugin, you may use the service methods:
- For exceptions:
Brought to you by Superbig