From c0e84cc0a67ac62f5c411af7ce8dfa6303a17e7f Mon Sep 17 00:00:00 2001 From: lechuck <l3chuck@autistici.org> Date: Sun, 27 Jan 2013 22:16:10 +0000 Subject: [PATCH] fix to sentry plugin --- .../plugins/wordpress-sentry/class.wp-raven-client.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/wp-content/plugins/wordpress-sentry/class.wp-raven-client.php b/wp-content/plugins/wordpress-sentry/class.wp-raven-client.php index 8d21d1ceb..899c17b03 100644 --- a/wp-content/plugins/wordpress-sentry/class.wp-raven-client.php +++ b/wp-content/plugins/wordpress-sentry/class.wp-raven-client.php @@ -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(); -- GitLab