Skip to content

Commit

Permalink
Merge pull request #306 from Countly/crashFilter-fix
Browse files Browse the repository at this point in the history
Removed extra crash filter callback from Countly.m
  • Loading branch information
turtledreams authored May 24, 2024
2 parents b671db9 + 826c194 commit 5bd619c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Countly.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ - (instancetype)init
return self;
}

BOOL (^crashFilterBlock)(CountlyCrashData *) = ^BOOL(CountlyCrashData *crash) {
if ([crash.stackTrace containsString:@"Fatal Error"]) {
return YES; // Filter the crash if the stack trace contains "Fatal Error"
}
return NO; // Otherwise, do not filter the crash
};

- (void)startWithConfig:(CountlyConfig *)config
{
if (CountlyCommon.sharedInstance.hasStarted_)
Expand Down

0 comments on commit 5bd619c

Please sign in to comment.