Skip to content
Snippets Groups Projects
Commit c0e84cc0 authored by lechuck's avatar lechuck Committed by lucha
Browse files

fix to sentry plugin

parent a0a490a9
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment