Skip to content

Commit

Permalink
fix: dont add boot time to enriched scopes (#3912)
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight authored Apr 27, 2024
1 parent 704d854 commit c8dbe73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Fixes

- Don't transmit device boot time in envelopes enriched with crash data (#3912)

## 8.25.0-alpha.0

### Features
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryCrashWrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ - (void)enrichScope:(SentryScope *)scope
[deviceData setValue:systemInfo[@"freeMemorySize"] forKey:SentryDeviceContextFreeMemoryKey];
[deviceData setValue:systemInfo[@"usableMemorySize"] forKey:@"usable_memory"];
[deviceData setValue:systemInfo[@"memorySize"] forKey:@"memory_size"];
[deviceData setValue:systemInfo[@"bootTime"] forKey:@"boot_time"];

NSString *locale = [[NSLocale autoupdatingCurrentLocale] objectForKey:NSLocaleIdentifier];
[deviceData setValue:locale forKey:LOCALE_KEY];
Expand Down

0 comments on commit c8dbe73

Please sign in to comment.