Title: Ferret
Author: Leap Spark
Published: <strong>11 de gener de 2019</strong>
Last modified: 16 de març de 2020

---

Cerca extensions

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

![](https://ps.w.org/ferret/assets/icon-256x256.png?rev=2115753)

# Ferret

 Per [Leap Spark](https://profiles.wordpress.org/leapspark/)

[Baixa](https://downloads.wordpress.org/plugin/ferret.2.1.0.zip)

 * [Detalls](https://ca.wordpress.org/plugins/ferret/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/ferret/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/ferret/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/ferret/#developers)

 [Suport](https://wordpress.org/support/plugin/ferret/)

## Descripció

Ferret is a simple wrapper for the Sentry PHP and JavaScript SDKs. It will catch
all PHP errors, as well as JavaScript errors if the option is switched on. It utilizes
the legacy PHP library by Sentry intentionally, in an effort to maximize compatibility.
The newest SDK requires PHP^7.1 whereas the legacy requires minimum of 5.6

There are four settings that you can adjust.

 * The `DSN` – Your DSN key, this is required
 * `Project ID` – The project key, this is also required
 * `Enable JavaScript Logging` – Enable logging of JavaScript errors
 * `Ignore WP Core Errors` – Prevent sending events to Sentry that originate from
   WordPress core (wp-admin, wp-includes)
 * `Debug Environment` – Switch the Sentry environment to `Debug`, turning this 
   off puts the environment to `Production`

All three are accessible on the plugin settings page located in the `Settings ->
Ferret Settings` page.

In the future we will add the ability to selectively ignore specific themes or plugins
in a convenient way. We would also like to expose an internal API that can be used
by other plugins/themes to capture errors or add context.

## Instal·lació

 1. Upload `wordpress-sentry.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to the settings page through `Settings -> Ferret Settings` and enter your Sentry
    DSN and Project ID

## Ressenyes

No hi ha ressenyes per a aquesta extensió.

## Col·laboradors i desenvolupadors

«Ferret» és programari de codi obert. La següent gent ha col·laborat en aquesta 
extensió.

Col·laboradors

 *   [ Leap Spark ](https://profiles.wordpress.org/leapspark/)

[Traduïu «Ferret» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/ferret)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/ferret/), baixeu-
vos el [repositori SVN](https://plugins.svn.wordpress.org/ferret/), o subscriviu-
vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/ferret/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/ferret/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 2.1.0

 * Fix JavaScript script element tag
 * Upgrade JavaScript SDK to 5.14

#### 2.0.0

 * Complete overhaul of plugin structure
 * Now requires PHP^7.1
 * Add Sentry Unified SDK

#### 1.2.6

 * Add WordPress.org assets

#### 1.2.5

 * Adding Github Actions workflow

#### 1.2.4

 * Remove ?? operators
 * Fix PHP version error notice to reflect 5.6 requirement
 * Code formatting

#### 1.2.3

 * Fix the required PHP version
 * Fix typos in README

#### 1.2.0

 * Documentation
 * Remove PHP7 features, specifically null coalesce operators
 * Downgrade minimum PHP version to 5.6
 * Add error handling to Sentry initialization

#### 1.1.6

 * Documentation

#### 1.1.5

 * Fix some issues related to file naming
 * Sort out some kinks with adjusting to svn workflow

#### 1.0.0

 * Initial commit

## Meta

 *  Versió **2.1.0**
 *  Darrera actualització **fa 6 anys**
 *  Instal·lacions actives **10+**
 *  Versió del WordPress ** 3.0.1 o posterior **
 *  Provada fins a **5.3.21**
 *  Versió del PHP ** 7.1 o posterior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/ferret/)
 * Etiquetes
 * [debugging](https://ca.wordpress.org/plugins/tags/debugging/)[error handling](https://ca.wordpress.org/plugins/tags/error-handling/)
   [errors](https://ca.wordpress.org/plugins/tags/errors/)[logging](https://ca.wordpress.org/plugins/tags/logging/)
   [sentry](https://ca.wordpress.org/plugins/tags/sentry/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/ferret/advanced/)

## Valoracions

Encara no s'ha enviat cap ressenya.

[Your review](https://wordpress.org/support/plugin/ferret/reviews/#new-post)

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/ferret/reviews/)

## Col·laboradors

 *   [ Leap Spark ](https://profiles.wordpress.org/leapspark/)

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/ferret/)