Commit 14284142 authored by okhin's avatar okhin 🚴

Merge branch '30-ajout-de-sentry' into 'preprod'

Resolve "Ajout de sentry"

Closes #30

See merge request !3
parents 8e8ae1f9 c3d26457
Pipeline #2002 passed with stages
in 9 seconds
......@@ -48,7 +48,8 @@ define("DEBUG", getenv('DEBUG'));
define("SENTRY", getenv('SENTRY'));
$error_handler = new Raven_ErrorHandler($client);
$sentry_client = new Raven_Client($SENTRY);
$error_handler = new Raven_ErrorHandler($sentry_client);
$error_handler->registerExceptionHandler();
$error_handler->registerErrorHandler();
$error_handler->registerShutdownFunction();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment