Skip to content

Commit 3178474

Browse files
committed
Fixed various bugs with exclusions and duplicate checking
1 parent 9845f22 commit 3178474

13 files changed

+502
-119
lines changed

dist/exceptionless.d.ts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,10 @@ export declare class Utils {
166166
static parseVersion(source: string): string;
167167
static parseQueryString(query: string, exclusions?: string[]): Object;
168168
static randomNumber(): number;
169-
static isMatch(input: string, patterns: string[]): boolean;
169+
static isMatch(input: string, patterns: string[], ignoreCase?: boolean): boolean;
170170
static isEmpty(input: Object): boolean;
171+
static startsWith(input: string, prefix: string): boolean;
172+
static endsWith(input: string, suffix: string): boolean;
171173
static stringify(data: any, exclusions?: string[], maxDepth?: number): string;
172174
}
173175
export declare class Configuration implements IConfigurationSettings {
@@ -409,10 +411,15 @@ export declare class SubmissionMethodPlugin implements IEventPlugin {
409411
export declare class DuplicateCheckerPlugin implements IEventPlugin {
410412
priority: number;
411413
name: string;
412-
private recentlyProcessedErrors;
414+
private _processedHashcodes;
415+
private _getCurrentTime;
416+
constructor(getCurrentTime?: () => number);
417+
run(context: EventPluginContext, next?: () => void): void;
418+
}
419+
export declare class EventExclusionPlugin implements IEventPlugin {
420+
priority: number;
421+
name: string;
413422
run(context: EventPluginContext, next?: () => void): void;
414-
private getNow();
415-
private checkDuplicate(error, log);
416423
}
417424
export interface IError extends IInnerError {
418425
modules?: IModule[];

dist/exceptionless.js

Lines changed: 115 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/exceptionless.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)