Fix crash in RCTJSStackFrame
Reviewed By: mmmulani Differential Revision: D3776330 fbshipit-source-id: 0e9126825e86dd7c124bc22341ab3b39b1bd3e0b
This commit is contained in:
parent
63931b1a68
commit
ea3bb35db0
|
@ -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)
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue