sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

HTTP Client Errors don't impact session

Open philipphofmann opened this issue 1 year ago • 0 comments

Description

The HTTP Client errors captured here https://github.com/getsentry/sentry-cocoa/blob/2de284cc01403c035708cf502d49bd0db0f0b847/Sources/Sentry/SentryNetworkTracker.m#L445

don't impact the session because captureEvent doesn't increment session errors in the Hub https://github.com/getsentry/sentry-cocoa/blob/2de284cc01403c035708cf502d49bd0db0f0b847/Sources/Sentry/SentryHub.m#L279-L300

philipphofmann avatar Mar 14 '24 13:03 philipphofmann