Commit 00ed14f4 authored by lechuck's avatar lechuck Committed by lechuck

fix to sentry plugin

parent 732dbbda
......@@ -10,14 +10,9 @@ class WP_Raven_Client extends Raven_Client {
function __construct() {
parent::__construct('http://ae2f418cf46f4910bf2c549335828557:9fc4940e00b34b9dade1bf0636846eec@evasione-vpn:9000/11');
if ( !isset( $this->settings['dsn'] )) return;
if ( $this->settings['dsn'] == '' ) return;
parent::__construct('http://ae2f418cf46f4910bf2c549335828557:9fc4940e00b34b9dade1bf0636846eec@evasione-vpn:3000/11');
$this->setErrorReportingLevel( 'E_ALL );
$this->setErrorReportingLevel( 'E_WARNING' );
$this->setHandlers();
......
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