File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,16 @@ - (void)testMissingUser
220220- (void )testNSException
221221{
222222 [self isValidReport: @" Resources/NSException" ];
223+
224+ NSDictionary *rawCrash = [self getCrashReport: @" Resources/NSException" ];
225+ SentryCrashReportConverter *reportConverter =
226+ [[SentryCrashReportConverter alloc ] initWithReport: rawCrash inAppLogic: self .inAppLogic];
227+ SentryEvent *event = [reportConverter convertReportToEvent ];
228+
229+ SentryException *exception = event.exceptions .firstObject ;
230+ XCTAssertEqualObjects (exception.type , @" NSInvalidArgumentException" );
231+ XCTAssertEqualObjects (exception.value ,
232+ @" -[__NSArrayI objectForKey:]: unrecognized selector sent to instance 0x1e59bc50" );
223233}
224234
225235- (void )testUnknownTypeException
You can’t perform that action at this time.
0 commit comments