This extension add the ability to send errors to Sentry with configurable log-level. No overrides or preferences in di.xml
Install the extension using Composer.
composer require mygento/module-sentry
- Enable in store configuration (System -> Configuration -> Mygento extensions -> Sentry)
- Set your DSN
- Set environment
- Optionally set other options
The module is tested on magento version 2.4.x with Sentry SDK version 4.x