Improvements
- Handled Exceptions in Objective-C
The tvOS agent now exposes an API on the NewRelic
object:
+recordHandledException:(NSException* _Nonnull)exception attributes:(NSDictionary* _Nullable)attributes.
Passing a caught exception to this API will record details as a MobileHandledException
event and record the thread details of the exception. This information will be available in the new UI for handled exceptions.
A new feature flag is available, NRFeatureFlag_HandledExceptionEvents
. This toggles the generation of MobileHandledExceptions events and auxiliary data. It is enabled by default
Fixes
- Fixed memory leak introduced by NSURLSession instrumentation.