Sentry Client for TYPO3
Just a more recent version of the sentry client as our sentry server v9.0 does not recognize "release" tag any more but expects a slightly different format.
Exception logging with sentry, see http://www.getsentry.com
The extension is a wrapper for https://github.com/getsentry/sentry-php
$ composer require ujamii/sentry-client
It's also available in TER: http://typo3.org/extensions/repository/view/sentry_client
Set the dsn (http://public_key:email@example.com/project-id) in the Extension Manager and you are done.
- Report exceptions in production context only
- Report exceptions when
$GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask']matches client ip
- Ignore PageNotFoundException and trigger 404 handling instead
- Report user information: Select one of
- Blacklist exception message regular expression
You can use
$GLOBALS['USER']['sentryClient'] which is an instance of \Raven_Client to add your own tags or log messages.
Example: Add a custom tag
Navigate to a reachable page with an unconfigured page type like
This triggers a ServiceUnavailableException which will be reported.
This extension is managed on GitHub. Feel free to get in touch at https://github.com/networkteam/sentry_client
There is a Slack channel #ext-sentry_client