array( 'Raven_Processor_RemoveCookiesProcessor' ) ); $this->client = new Raven_Client( $config->get_sentry_dsn(), $options ); $this->client->tags_context( array( 'php_version' => phpversion(), 'wp_version' => $environment->get_wordpress_version(), 'api_sdk_version' => API::VERSION, 'account_sdk_version' => Account::VERSION ) ); $this->client->setRelease( TWOFAS_PLUGIN_VERSION ); } /** * @param Exception $e * @param array $options */ public function capture_exception( Exception $e, array $options = array() ) { $this->client->captureException( $e, $options ); } }