The response body isn't reported on an failed request when swiftAsyncUrlSessionSupport
flag is turned on #316
Open
Description
Description
When the swiftAsyncUrlSessionSupport
feature flag is turned on, NewRelic stops showing the Response on a failed request.
Steps to Reproduce
- Turn on
swiftAsyncUrlSessionSupport
NewRelic.enableFeatures([
.NRFeatureFlag_SwiftAsyncURLSessionSupport,
.NRFeatureFlag_RequestErrorEvents,
.NRFeatureFlag_HttpResponseBodyCapture
])
- Make a failed API request with a response data
- Check the log on the
HTTP Errors
tab for the new tracked request
Expected Behavior
The Response
data should show up instead of show this error:
Relevant Logs / Console output
n/a
Your Environment
- iOS Version: 18.0
- Device: iPhone 12
- SDK Version: 7.5.2
Additional context
n/a