Sentry 错误截图代码参考
我从我的生产应用程序中收到关于 firebase crashlytics 和 sentry 的报告。100 个用户中有 5 个事件和 4 个用户受到影响。我无法重现此问题,也无法确定其原因。根据堆栈跟踪,它看起来像是在节点模块内的 AppRegistry.js 反应本机模块中发生的。
TypeError: undefined is not an object (evaluating 'u()(o).then')
at apply(node_modules/react-native/Libraries/ReactNative/AppRegistry.js:258:20)
at __callFunction(node_modules/react-
native/Libraries/BatchedBridge/MessageQueue.js:414:27)
at fn(node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:113:12)
at __guard(node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:365:9)
at value(node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:112:10)
at value([native code])