Same event not logging multiple times

Logging events using Raven.js in sentry not allowing same event to be logged multiple times. it is logged only once.

Raven.js 3.12.0 and newer now suppresses back-to-back duplicate errors by default. This is to avoid single repeating errors, often triggered by browser extensions/malware, from eating up your quota.

You can disable this by setting allowDuplicates: true during config (see docs).

Example:

Raven.config('your-dsn', { allowDuplicates: true }).install();
1 Like

Hey, what is the timeframe between “ignored” duplicates?

I.e. if the user encounters the same error after 2 minutes, will it be logged?