Skip to content

Commit

Permalink
ref: Fix typos in OOMTracker (#2431)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann authored Nov 22, 2022
1 parent c9129b6 commit 4dc66f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Sentry/SentryOutOfMemoryTracker.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ - (void)start
// Set to empty list so no breadcrumbs of the current scope are added
event.breadcrumbs = @[];

// Load the previous breascrumbs from disk, which are already serialized
// Load the previous breadcrumbs from disk, which are already serialized
event.serializedBreadcrumbs = [self.fileManager readPreviousBreadcrumbs];
if (event.serializedBreadcrumbs.count > self.options.maxBreadcrumbs) {
event.serializedBreadcrumbs = [event.serializedBreadcrumbs
Expand All @@ -84,7 +84,7 @@ - (void)start
exception.mechanism = mechanism;
event.exceptions = @[ exception ];

// We don't need to upate the releaseName of the event to the previous app state as we
// We don't need to update the releaseName of the event to the previous app state as we
// assume it's not an OOM when the releaseName changed between app starts.
[SentrySDK captureCrashEvent:event];
}
Expand Down

0 comments on commit 4dc66f6

Please sign in to comment.