This is a Sentry client package for the Flow framework and Neos CMS (http://www.neos.io).
It's based on https://github.com/getsentry/raven-php.
Have a look at https://getsentry.com for more information about Sentry.
$ composer require networkteam/sentryclient
Add the following to your Settings.yaml
and replace the dsn
setting with your project DSN (API Keys in your Sentry project):
Networkteam:
SentryClient:
# The Sentry DSN
dsn: 'http://public_key:secret_key@your-sentry-server.com/project-id'
For non-Neos projects the TypoScript error handler aspect needs to be ignored by Flow. This can be achieved by adding the following exclude configuration to your settings:
TYPO3:
Flow:
object:
excludeClasses:
'Networkteam.SentryClient': ['Networkteam\\SentryClient\\Aspect\\TypoScriptHandlerAspect']
Sentry will log all exceptions that have the rendering option logException
enabled. This can be enabled or disabled
by status code or exception class according to the Flow configuration.
This package is managed on GitHub. Feel free to get in touch at https://github.com/networkteam/Networkteam.SentryClient.
See the LICENSE file for license rights and limitations (MIT).