Skip to content

Commit

Permalink
DOUBLE REPORT FIX: Fix by commenting out uploadCrashReports in onSess…
Browse files Browse the repository at this point in the history
…ionStart
  • Loading branch information
cdillard-NewRelic committed Jan 24, 2024
1 parent 0d876ec commit 04ff557
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Agent/General/NewRelicAgentInternal.m
Original file line number Diff line number Diff line change
Expand Up @@ -491,11 +491,12 @@ - (void) onSessionStart {
[self.analyticsController setNRSessionAttribute:@"sessionId"
value:self->_agentConfiguration.sessionIdentifier];

// Attempt to upload crash report files (if any exist)
if ([NRMAFlags shouldEnableCrashReporting]) {

[[NRMAExceptionHandlerManager manager].uploader uploadCrashReports];
}
// We used to attempt to upload crashes here as well as in [NRMAExceptionHandlerManager initWithLastSessionsAttributes];
// // Attempt to upload crash report files (if any exist)
// if ([NRMAFlags shouldEnableCrashReporting]) {
//
// [[NRMAExceptionHandlerManager manager].uploader uploadCrashReports];
// }

if([NRMAFlags shouldEnableGestureInstrumentation])
{
Expand Down

0 comments on commit 04ff557

Please sign in to comment.