mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-30 05:55:48 +08:00
[ReactNative] Quick fix to busted redboxes
This commit is contained in:
@@ -28,7 +28,7 @@ type Exception = {
|
|||||||
function handleException(e: Exception) {
|
function handleException(e: Exception) {
|
||||||
var stack = parseErrorStack(e);
|
var stack = parseErrorStack(e);
|
||||||
console.error(
|
console.error(
|
||||||
'Error: ' +
|
'Err0r: ' +
|
||||||
'\n stack: \n' + stackToString(stack) +
|
'\n stack: \n' + stackToString(stack) +
|
||||||
'\n URL: ' + e.sourceURL +
|
'\n URL: ' + e.sourceURL +
|
||||||
'\n line: ' + e.line +
|
'\n line: ' + e.line +
|
||||||
|
|||||||
Reference in New Issue
Block a user