-
-
Notifications
You must be signed in to change notification settings - Fork 372
Closed
Labels
Breaking-changeshould go in a major release (breaks apps, changes default configs in a major way)should go in a major release (breaks apps, changes default configs in a major way)BugCocoa
Milestone
Description
Description
The HTTP Client errors captured here
| [SentrySDK captureEvent:event]; |
don't impact the session because captureEvent doesn't increment session errors in the Hub
sentry-cocoa/Sources/Sentry/SentryHub.m
Lines 279 to 300 in 2de284c
| - (SentryId *)captureEvent:(SentryEvent *)event | |
| { | |
| return [self captureEvent:event withScope:self.scope]; | |
| } | |
| - (SentryId *)captureEvent:(SentryEvent *)event withScope:(SentryScope *)scope | |
| { | |
| return [self captureEvent:event withScope:scope additionalEnvelopeItems:@[]]; | |
| } | |
| - (SentryId *)captureEvent:(SentryEvent *)event | |
| withScope:(SentryScope *)scope | |
| additionalEnvelopeItems:(NSArray<SentryEnvelopeItem *> *)additionalEnvelopeItems | |
| { | |
| SentryClient *client = _client; | |
| if (client != nil) { | |
| return [client captureEvent:event | |
| withScope:scope | |
| additionalEnvelopeItems:additionalEnvelopeItems]; | |
| } | |
| return SentryId.empty; | |
| } |
Metadata
Metadata
Assignees
Labels
Breaking-changeshould go in a major release (breaks apps, changes default configs in a major way)should go in a major release (breaks apps, changes default configs in a major way)BugCocoa
Projects
Status
Backlog