pluswerk/sentry

+Pluswerk TYPO3 extension: Sentry Client

Installs: 4 011

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

Type:typo3-cms-extension

1.0.0 2019-04-16 14:11 UTC

This package is auto-updated.

Last update: 2021-03-11 13:56:37 UTC


README

PHP Version Packagist Release Travis GitHub License Build Status

Pluswerk TYPO3 Sentry PHP client

Usage:

Add your Sentry URL to your Local Configuration like this:

LocalConfiguration.php or AdditionalConfiguration.php:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['sentry']['dsn'] = 'https://xyz@sentry.io/12345';
#Also you need to adjust the ExceptionHandler of TYPO3 to the following:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler'] = \Pluswerk\Sentry\ErrorHandler\DebugExceptionHandler::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler'] = \Pluswerk\Sentry\ErrorHandler\ProductionExceptionHandler::class;

You can disable Sentry error logging by setting env variable DISABLE_SENTRY=1.

Require via

composer require pluswerk/sentry