2017 © Pedro Peláez
 

typo3-cms-extension airbrake

image

smichaelsen/airbrake

  • Wednesday, May 25, 2016
  • by smichaelsen
  • Repository
  • 1 Watchers
  • 1 Stars
  • 565 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

TYPO3 Extension: Airbrake

Logs PHP Exceptions to airbrake.io or alternative services that are API compliant to airbrake.io. At the moment only exceptions in ContentElement are handled. Other frontendexceptions and all backend exceptions are not supported (handled) yet., (*1)

Setup

Replace contentObjectExceptionHandler

After installing the extension, include its Static TypoScript Template and then configure your airbrake.io project ID and key in the TS Constant Editor., (*2)

Replace debugExceptionHandler

$GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler'] = \Smichaelsen\Airbrake\ExceptionHandler\GeneralExceptionHandler::class;, (*3)

Replace productionExceptionHandler

$GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler'] = \Smichaelsen\Airbrake\ExceptionHandler\GeneralExceptionHandler::class;, (*4)

TypoScript Reference

These options are available in plugin.tx_airbrake. All of them are also configurable via the constant editor. All of them have stdWrap enabled., (*5)

option default description
projectId (empty) Project ID for airbrake
projectKey (empty) Project Key for airbrake
host api.airbrake.io URL of your airbrake host.
stillLogExceptionToLogfile false TYPO3 usually logs production exceptions to typo3temp/logs/ and airbrake disables this behaviour. If this is set to true, TYPO3 will keep logging to the file.

Other TypoScript

These settings are not introduced by EXT:airbrake but can be useful for you:, (*6)

option description
config.contentObjectExceptionHandler This is set to Smichaelsen\Airbrake\ExceptionHandler\ContentObjectExceptionHandler by EXT:airbrake to register it as exception handler for content objects. Unsetting it will restore TYPO3's default behaviour.
config.contentObjectExceptionHandler.errorMessage This is TYPO3's option to change the default message ("Oops, an error occurred! Code: SOMEEXCEPTIONIDENTIFIER"). Also note that EXT:airbrake changes the TYPO3 default message to a localized message if you set nothing here.

The Versions

25/05 2016

dev-master

9999999-dev

  Sources   Download

The Requires

 

17/05 2016

dev-task/phpbrake

dev-task/phpbrake

  Sources   Download

The Requires

 

15/05 2016

1.1.0

1.1.0.0

  Sources   Download

The Requires

 

14/05 2016

1.0.0

1.0.0.0

  Sources   Download

The Requires