Skip to content
Snippets Groups Projects
Commit 507b9a29 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge branch '3.9' of git@github.com:Dolibarr/dolibarr.git into 3.9

parents daa1aed3 2ffe06b1
No related branches found
No related tags found
No related merge requests found
...@@ -145,6 +145,10 @@ class mod_syslog_sentry extends LogHandler implements LogHandlerInterface ...@@ -145,6 +145,10 @@ class mod_syslog_sentry extends LogHandler implements LogHandlerInterface
*/ */
public function export($content) public function export($content)
{ {
if (! $this->isActive()) {
return;
}
global $conf; global $conf;
$dsn = $conf->global->SYSLOG_SENTRY_DSN; $dsn = $conf->global->SYSLOG_SENTRY_DSN;
$client = new Raven_Client( $client = new Raven_Client(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment