This Magento 2 module integrates the Sentry sdk into magento 2. Depending on the log level configured in the backend of magento 2, notifications and errors can be send to sentry.
composer require justbetter/magento2-sentry
bin/magento module:enable JustBetter_Sentry
bin/magento setup:upgrade && bin/magento setup:static-content:deploy
- Options for the module are defined in the backend under Stores > Configuration > JustBetter > Sentry configuration
- Optional you can configure custom error pages in pub/errors. You can use the sentry feedback form and insert here the sentry log ID. The Sentry Log Id is captured in de customer session and can be retrieved in
processor.php
. Soon I'll integrate this in the module.
The module is tested on Magento version 2.1.x & 2.2.x with sentry sdk version 1.8.x
Please create a issue or a pull request.
- Integrate custom error pages in composer package
- Integrate feedback sentry form in error pages