mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 14:13:26 +00:00
Fix NPE in StackTraceHelper
Reviewed By: AaaChiuuu Differential Revision: D4860056 fbshipit-source-id: 68865d8d8d1c2a678970f10e99d2ae5bc31ea5f8
This commit is contained in:
parent
dd7aa3659d
commit
3184f314ad
@ -40,7 +40,7 @@ public class StackTraceHelper {
|
||||
mMethod = method;
|
||||
mLine = line;
|
||||
mColumn = column;
|
||||
mFileName = new File(file).getName();
|
||||
mFileName = file != null ? new File(file).getName() : "";
|
||||
}
|
||||
|
||||
private StackFrameImpl(String file, String fileName, String method, int line, int column) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user