cakephp2-plugin / sentry
Installs: 77
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: ^8.0
- cakephp/cakephp: ^2.10
- composer/installers: *
- sentry/sentry: ^4.11
This package is auto-updated.
Last update: 2025-05-31 13:11:12 UTC
README
Config
Config/core.php
Configure::write('Sentry', [ 'dsn' => 'SENTRY_DSN', 'options', [ 'environment' => 'SENTRY_ENVIRONMENT', 'release' => 'SENTRY_RELEASE', ], 'ignoredExceptions', [ NotFoundException::class, MissingControllerException::class, MissingActionException::class, ] ]); App::uses('SentryErrorHandler', 'Sentry.Lib/Error');
Configure::write('Error', [ 'handler' => 'SentryErrorHandler::handleError', 'level' => E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED, 'trace' => true, ]);
Configure::write('Exception', [ 'handler' => 'SentryErrorHandler::handleException', 'renderer' => 'ExceptionRenderer', 'log' => true, ]);