Merge pull request #4965 from GPCsolutions/3.9-sentry

Prevent sentry logging error with 3.9 update
This commit is contained in:
Laurent Destailleur 2016-04-08 21:31:32 +02:00
commit 2ffe06b1b3

View File

@ -145,6 +145,10 @@ class mod_syslog_sentry extends LogHandler implements LogHandlerInterface
*/
public function export($content)
{
if (! $this->isActive()) {
return;
}
global $conf;
$dsn = $conf->global->SYSLOG_SENTRY_DSN;
$client = new Raven_Client(