This plugin reports all exceptions to your Sentry account. It includes breadcrumbs, user information and the October build number. If RainLab.User
is installed the correct user (frontend/backend) will be reported with your exception.
Configuration
You can manage your Sentry configuration via the backend settings.
Capture custom messages
Use the following syntax to send custom messages to your Sentry logs.
\Sentry\withScope(function (\Sentry\State\Scope $scope): void { $scope->setExtras([ 'custom' => 'value' ]); \Sentry\captureMessage('Something happened!'); });
-
This plugin has not been reviewed yet.
-
3.0.3 |
Bugfix Mar 04, 2024 |
---|---|
3.0.2 |
Fixed reporting of backend issues (thanks to @vojtasvoboda) Mar 03, 2024 |
3.0.1 |
Added missing import Aug 30, 2023 |
3.0.0 |
!!! Complete rewrite of the plugin, please read the README.md file for more information. Aug 30, 2023 |
2.1.15 |
Optimized exception handling (no longer send 404 errors originating from Twig to Sentry) Oct 12, 2022 |
2.1.14 |
Bump packagist version Sep 28, 2022 |
2.1.13 |
Fixed ignored exception functionality Aug 20, 2022 |
2.1.12 |
Fixed compatibility with October 3 Jul 06, 2022 |
2.1.10 |
Fixed changelog entry May 04, 2022 |
2.1.8 |
Changed PHP version constraint to be in line with sentry/laravel-sentry Apr 24, 2022 |
2.1.7 |
Update to latest Sentry Client Apr 24, 2022 |
2.1.6 |
Optimized startup behaviour if database is not present yet Aug 23, 2021 |
2.1.5 |
Optimized October 2 compatibility Aug 23, 2021 |
2.1.4 |
Optimized October 2 compatibility Aug 23, 2021 |
2.1.3 |
Fixed Composer version constraints for PHP 8 Aug 23, 2021 |
2.1.2 |
Updated Sentry Client, adds support for PHP 8 Aug 23, 2021 |
2.1.1 |
Made backend error tracking opt-in Jun 09, 2020 |
2.1.0 |
Added backend error tracking May 19, 2020 |
2.0.1 |
Made Sentry configuration global, so captureMessage calls are correctly sent Apr 23, 2020 |
2.0.0 |
!!! Updated to Sentry 2.0, improved PHP 7.4 support. If you use the `Sentry::captureMessage` method, make sure to upgrade it to the syntax shown in this plugin's README. Apr 22, 2020 |
1.0.3 |
Updated sentry/sentry to 1.10.0 Dec 20, 2018 |
1.0.2 |
Added option to ignore debug mode Jun 29, 2018 |
1.0.1 |
Initial release. Jun 26, 2018 |