Skip to content

Commit

Permalink
Add timeout and excluded_options config docs
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive committed May 3, 2018
1 parent 01171cf commit 6860a3e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,26 @@ The following settings are available for the client:
)
)
.. describe:: timeout

The timeout for sending requests to the Sentry server in seconds, default is 2 seconds.

.. code-block:: php
'timeout' => 2,
.. describe:: excluded_exceptions

Exception that should not be reported, exceptions extending exceptions in this list will also
be excluded, default is an empty array.

In the example below, when you exclude ``LogicException`` you will also exclude ``BadFunctionCallException``
since it extends ``LogicException``.

.. code-block:: php
'excluded_exceptions' => array('LogicException'),
.. _sentry-php-request-context:

Providing Request Context
Expand Down

0 comments on commit 6860a3e

Please sign in to comment.