哨兵未在本机反应中捕获本地敌人

问题描述

我已经问过哨兵反应本机git了,但是还没有答复。我有以下迷恋对象:

java crush

https://github.com/temharay/sentry

Sentry.nativeCrush()确实得到了报告,我也希望看到上面的暗恋,但在仪表板中看不到它。抓到的东西有区别吗?

像下面这样的JS暗恋确实被抓住了:

       nullVariable.toString();

但不能暗恋来自本机Java方面的东西。

如果有帮助,我在模拟器android上。我的设置是:

import * as Sentry from '@sentry/react-native';

Sentry.init({
  dsn: 'https://[email protected]/...'
  // other options
  enableAutoSessionTracking: true,enableNative: true,enableNativeCrashHandling: true,enabled: true,debug: true,integrations: [
    new Sentry.BrowserIntegrations.GlobalHandlers({
      onerror: true,onunhandledrejection: true,}),],});

在应用程序加载时,我看到了日志:

[Wed Sep 30 2020 13:59:40.750]  LOG      Sentry Logger [Log]: Integration installed: ReactNativeErrorHandlers
[Wed Sep 30 2020 13:59:40.752]  LOG      Sentry Logger [Log]: Integration installed: Release
[Wed Sep 30 2020 13:59:40.752]  LOG      Sentry Logger [Log]: Integration installed: InboundFilters
[Wed Sep 30 2020 13:59:40.753]  LOG      Sentry Logger [Log]: Integration installed: FunctionToString
[Wed Sep 30 2020 13:59:40.753]  LOG      Sentry Logger [Log]: Integration installed: Breadcrumbs
[Wed Sep 30 2020 13:59:40.754]  LOG      Sentry Logger [Log]: Integration installed: LinkedErrors
[Wed Sep 30 2020 13:59:40.754]  LOG      Sentry Logger [Log]: Integration installed: UserAgent
[Wed Sep 30 2020 13:59:40.755]  LOG      Sentry Logger [Log]: Integration installed: DebugSymbolicator
[Wed Sep 30 2020 13:59:40.755]  LOG      Sentry Logger [Log]: Integration installed: RewriteFrames
[Wed Sep 30 2020 13:59:40.756]  LOG      Sentry Logger [Log]: Integration installed: DeviceContext
[Wed Sep 30 2020 13:59:40.756]  LOG      Sentry Logger [Log]: Global Handler attached: onerror
[Wed Sep 30 2020 13:59:40.757]  LOG      Sentry Logger [Log]: Global Handler attached: onunhandledrejection
[Wed Sep 30 2020 13:59:40.757]  LOG      Sentry Logger [Log]: Integration installed: GlobalHandlers

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)