summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Haustant <noirbizarre@gmail.com>2017-02-18 00:31:49 +0100
committerAxel Haustant <noirbizarre@gmail.com>2017-02-18 01:06:58 +0100
commit271d1aa797704fef94b83f5f03b96ad0d9d7200d (patch)
treed07473230f9fcf3886fa55905c2630d41b6f0946
parent6ee76775ec83b1da0fbfd400b09fa55608928d7c (diff)
downloadraven-271d1aa797704fef94b83f5f03b96ad0d9d7200d.tar.gz
Describe ignore_exception in the documentation
-rw-r--r--docs/advanced.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/advanced.rst b/docs/advanced.rst
index 851d528..dc6f042 100644
--- a/docs/advanced.rst
+++ b/docs/advanced.rst
@@ -168,8 +168,13 @@ The following are valid arguments which may be passed to the Raven client:
'Http404',
'django.exceptions.http.Http404',
'django.exceptions.*',
+ ValueError,
]
+ Each item can be either a string or a class.
+ String declaration is strict (ie. does not works for child exceptions)
+ whereas class declaration handle inheritance (ie. child exceptions are also ignored).
+
.. describe:: list_max_length
The maximum number of items a list-like container should store.