Skip to content

Commit

Permalink
Use correct class name for default processor in the docs (#547)
Browse files Browse the repository at this point in the history
In version 1.7.0 the default processor class changed from Raven_SanitizeDataProcessor to Raven_Processor_SanitizeDataProcessor

This means the sample config documentation would be wrong for someone who didn't customize their processors.
  • Loading branch information
mfb authored and Jean85 committed Feb 13, 2018
1 parent 1e6153d commit 7201cc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ The following settings are available for the client:
.. describe:: processors

An array of classes to use to process data before it is sent to
Sentry. By default, ``Raven_SanitizeDataProcessor`` is used
Sentry. By default, ``Raven_Processor_SanitizeDataProcessor`` is used

.. describe:: processorOptions

Expand All @@ -230,12 +230,12 @@ The following settings are available for the client:
the list of processors used by ``Raven_Client``

An example of overriding the regular expressions in
``Raven_SanitizeDataProcessor`` is below:
``Raven_Processor_SanitizeDataProcessor`` is below:

.. code-block:: php
'processorOptions' => array(
'Raven_SanitizeDataProcessor' => array(
'Raven_Processor_SanitizeDataProcessor' => array(
'fields_re' => '/(user_password|user_token|user_secret)/i',
'values_re' => '/^(?:\d[ -]*?){15,16}$/'
)
Expand Down

0 comments on commit 7201cc1

Please sign in to comment.