This Magento 2 module makes it possible to filter Sentry events by exception message.
composer require justbetter/magento2-sentry-filter-events
bin/magento module:enable JustBetter_SentryFilterEvents
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
This module adds the following configuration field to the already existing JustBetter Sentry configuration:
Stores > Configuration > JustBetter > Sentry configuration > Sentry event filtering
.
messages
: Here you can specify the exception messages you want to exclude from being dispatched to Sentry
The module is tested on Magento version 2.4.x with sentry sdk version 3.x.
Please create a issue or a pull request.
We’re a innovative development agency from The Netherlands building awesome websites, webshops and web applications with Laravel and Magento. Check out our website justbetter.nl and our open source projects.