找不到app:///index.android.bundle的源代码

时间:2019-04-10 05:53:16

标签: react-native source-maps sentry

我已经在服务器上安装了托管哨兵,并将我的react native应用程序与其集成在一起。除了将堆栈跟踪与源映射链接之外,其他所有方法都运行良好。捕获的异常显示此错误:

Source code was not found for app:///index.android.bundle 

我已经审阅了岗哨文件,但无法弄清楚。我还上传了〜/ index.android.bundle和〜/ index.android.bundle.map 到哨兵服务器,我可以在“工件”选项卡中看到它们。

我希望显示错误的堆栈跟踪,但是我得到

app:///index.delta in captureException at line 108830:23
app:///index.delta in onUnhandled at line 111447:33
app:///index.delta in onUnhandled at line 22937:30
[native code] onUnhandled
app:///index.delta at line 24072:26
app:///index.delta in _callTimer at line 23989:17
app:///index.delta in callTimers at line 24196:19
app:///index.delta in __callFunction at line 2483:49
app:///index.delta at line 2256:31
app:///index.delta in __guard at line 2437:15
app:///index.delta in callFunctionReturnFlushedQueue at line 2255:21
[native code] callFunctionReturnFlushedQueue
  • Sentry SDK:sentry-react-native

0 个答案:

没有答案