Merge pull request #4965 from GPCsolutions/3.9-sentry
Prevent sentry logging error with 3.9 update
This commit is contained in:
commit
2ffe06b1b3
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user