Skip to content

iresults/sentry_client

 
 

Repository files navigation

Sentry Client for TYPO3

This is a TYPO3 Extension for exception logging with sentry, see http://www.getsentry.com

It's based on https://github.com/getsentry/sentry-php

Installation

  1. Clone the repository

    git clone https://github.com/iresults/sentry_client.git
  2. Install the Sentry Library (e.g. with CunddComposer)

  3. Register the handlers in the Install Tool or typo3conf/AdditionalConfiguration.php

    $GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler'] = 'Iresults\\SentryClient\\DebugExceptionHandler';
    $GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler'] = 'Iresults\\SentryClient\\ProductionExceptionHandler';
    $GLOBALS['TYPO3_CONF_VARS']['SYS']['errorHandler'] = 'Iresults\\SentryClient\\ErrorHandler';

Configuration

Set the dsn (e.g. http://public_key:[email protected]/project-id) in the Extension Manager.

Development

Development of this fork happens on https://github.com/iresults/sentry_client

The original version can be found on https://github.com/networkteam/sentry_client