Fix crash in RCTJSStackFrame

Reviewed By: mmmulani

Differential Revision: D3776330

fbshipit-source-id: 0e9126825e86dd7c124bc22341ab3b39b1bd3e0b
This commit is contained in:
Pieter De Baets 2016-08-26 09:47:25 -07:00 committed by Facebook Github Bot 2
parent 63931b1a68
commit ea3bb35db0
1 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@
#import "RCTJSStackFrame.h"
#import "RCTLog.h"
#import "RCTUtils.h"
static NSRegularExpression *RCTJSStackFrameRegex()
{
@ -41,8 +41,8 @@ static NSRegularExpression *RCTJSStackFrameRegex()
- (NSDictionary *)toDictionary
{
return @{
@"methodName": self.methodName,
@"file": self.file,
@"methodName": RCTNullIfNil(self.methodName),
@"file": RCTNullIfNil(self.file),
@"lineNumber": @(self.lineNumber),
@"column": @(self.column)
};