← Extensions
TYPO3 13 / 14 MonitoringError HandlingBugsnagPerformance

EXT:bugsnag

Integrates Bugsnag error monitoring into TYPO3 CMS — forwards exceptions to the Bugsnag platform, including performance monitoring via Site Set.


Connects TYPO3 with Bugsnag. All unhandled exceptions — in debug and production context — are automatically reported, including stack traces, request context and TYPO3 metadata. Performance monitoring is included via a bundled Site Set.

Configuration

Exception Handler

In AdditionalConfiguration.php:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler'] =
    \GeorgRinger\Bugsnag\Core\Error\DebugExceptionHandler::class;

$GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler'] =
    \GeorgRinger\Bugsnag\Core\Error\ProductionExceptionHandler::class;

API Key via Environment Variable

BUGSNAG_API_KEY=your-api-key

Content Element Exception Handler

config.contentObjectExceptionHandler = GeorgRinger\Bugsnag\ContentObject\Exception\ProductionExceptionHandler

Performance Monitoring (Site Set)

Include Site Set GeorgRinger/bugsnag as a dependency, then in config/sites/{site}/settings.yaml:

bugsnag.apiKey: '%env(BUGSNAG_API_KEY)%'

The performance script is only rendered when bugsnag.apiKey is set.

Requirements

PackageVersion
TYPO3 CMS13 or 14