Sentry is a modern error tracking platform. You can log and trace errors in Sentry and collect directly feedback from user.
Sentry can:
This plugin gives you the possibility to collect errors that occured in Shopware to a custom Sentry project.
If you enable it and a catchable error occurs, the user will be asked to provide additional feedback:
Requires PHP >= 7.1 !!
composer require onedrop/shopware-sentry
git clone https://github.com/1drop/shopware-sentry.git custom/plugins/OdSentry
composer install
Plugin can be ordered for free in your plugin manager or in Shopware plugin store
php ./bin/console sw:plugin:install OdSentry
php ./bin/console sw:plugin:config:list OdSentry
(based on custom/plugins/OdSentry/Resources/config.xml
)php ./bin/console sw:plugin:config:set OdSentry sentryLogPhp true
php ./bin/console sw:plugin:activate OdSentry
php ./bin/console sw:cache:clear
Since 1.1.1 it is possible to skip exceptions for capture add following snippet to our config.php
'sentry' => [
'skip_capture' => [
Symfony\Component\Console\Exception\CommandNotFoundException::class,
Enlight_Controller_Exception::class,
// Shopware\Components\Api\Exception\NotFoundException:class,
MyCustomException::class
]
]