Skip to content

Commit bfd7efa

Browse files
committed
Document allowDuplicates config option
1 parent bdaf4a5 commit bfd7efa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/config.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,12 @@ Those configuration options are documented below:
264264
onError
265265
Callback to be invoked upon a failed request.
266266

267+
.. describe:: allowDuplicates
268+
269+
By default, Raven.js attempts to suppress duplicate captured errors and messages that occur back-to-back. Such events are often triggered by rogue code (e.g. from a `setInterval` callback in a browser extension), are not actionable, and eat up your event quota.
270+
271+
To disable this behavior (for example, when testing), set ``allowDuplicates: true`` during configuration.
272+
267273
.. describe:: allowSecretKey
268274

269275
By default, Raven.js will throw an error if configured with a Sentry DSN that contains a secret key.

0 commit comments

Comments
 (0)