Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion typescript/raven-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ var options: Raven.RavenOptions = {
},
breadcrumbCallback: function (data) {
return data
}
},
allowDuplicates: true
};

Raven.config('https://public@sentry.io/1', options).install();
Expand Down
5 changes: 5 additions & 0 deletions typescript/raven.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ declare module Raven {
* A sampling rate to apply to events. A value of 0.0 will send no events, and a value of 1.0 will send all events (default).
*/
sampleRate?: number;

/**
* Should raven send duplicate errors. A value of false will not send duplicate errors (default).
*/
allowDuplicates?: boolean;
}

interface RavenInstrumentationOptions {
Expand Down