@@ -198,7 +198,7 @@ - (void) recordError:(NSError * _Nonnull)error
198
198
resultMap,
199
199
[self createThreadVector: callstack length: frames]
200
200
);
201
- NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [analyticsParent getAttributeValidator ]] autorelease ];
201
+ NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [NewRelicInternalUtils attributeValidator ]] autorelease ];
202
202
203
203
if (attributes != nil ) {
204
204
[contextAdapter addAttributesNewValidation: attributes];
@@ -218,7 +218,7 @@ - (void) recordError:(NSError * _Nonnull)error
218
218
[self createThreadVector: callstack length: frames]
219
219
);
220
220
221
- NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [analyticsParent getAttributeValidator ]] autorelease ];
221
+ NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [NewRelicInternalUtils attributeValidator ]] autorelease ];
222
222
223
223
if (attributes != nil ) {
224
224
[contextAdapter addAttributes: attributes];
@@ -268,7 +268,7 @@ - (void) recordHandledException:(NSException*)exception
268
268
269
269
[self checkOffline: report];
270
270
271
- NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [analyticsParent getAttributeValidator ]] autorelease ];
271
+ NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [NewRelicInternalUtils attributeValidator ]] autorelease ];
272
272
273
273
if (attributes != nil ) {
274
274
[contextAdapter addAttributesNewValidation: attributes];
@@ -287,7 +287,7 @@ - (void) recordHandledException:(NSException*)exception
287
287
288
288
[self checkOffline: report];
289
289
290
- NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [analyticsParent getAttributeValidator ]] autorelease ];
290
+ NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [NewRelicInternalUtils attributeValidator ]] autorelease ];
291
291
292
292
if (attributes != nil ) {
293
293
[contextAdapter addAttributes: attributes];
@@ -371,7 +371,7 @@ - (void) recordHandledExceptionWithStackTrace:(NSDictionary*)exceptionDictionary
371
371
report->setAttributeNoValidation (" timeSinceLoad" , [[[NSDate new ] autorelease ] timeIntervalSinceDate: self .sessionStartDate]);
372
372
[self checkOffline: report];
373
373
374
- NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [analyticsParent getAttributeValidator ]] autorelease ];
374
+ NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [NewRelicInternalUtils attributeValidator ]] autorelease ];
375
375
376
376
if (exceptionDictionary != nil ) {
377
377
[contextAdapter addAttributesNewValidation: exceptionDictionary];
@@ -388,7 +388,7 @@ - (void) recordHandledExceptionWithStackTrace:(NSDictionary*)exceptionDictionary
388
388
report->setAttribute (" timeSinceLoad" , [[[NSDate new ] autorelease ] timeIntervalSinceDate: self .sessionStartDate]);
389
389
[self checkOffline: report];
390
390
391
- NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [analyticsParent getAttributeValidator ]] autorelease ];
391
+ NRMAExceptionReportAdaptor* contextAdapter = [[[NRMAExceptionReportAdaptor alloc ] initWithReport: report attributeValidator: [NewRelicInternalUtils attributeValidator ]] autorelease ];
392
392
393
393
if (exceptionDictionary != nil ) {
394
394
[contextAdapter addAttributes: exceptionDictionary];
0 commit comments