如何使用 Sentry 识别 Flutter 中的错误是否导致应用程序崩溃
我正在跟踪所有我的应用程序崩溃带有sentry ,所有错误都成功地跟踪了,但我仍然没有,但是我仍然没有尚未' T找到了一种方法来识别Sentry报告的错误是常见错误还是正在崩溃应用程序。
有人找到了这样做的方法吗?
I'm tracking all my app crashes with Sentry and all errors are tracked successfully, but I still haven't found a way to identify if the error reported by Sentry is a common error or is crashing the app.
have someone found a way to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Flutter应用程序不会容易崩溃,因为未经手的回调吞没了异常。
如果崩溃发生在Android或iOS上的A(C,C ++)代码中,则可能会崩溃,如果发生这种情况,您将在Sentry问题上看到一个“未手持”标签。
如果您想过滤颤音上的所有未手动事件,则可能对此问题感兴趣 https:https:https: //github.com/getsentry/sentry-dart/issues/456
Flutter apps don't crash that easily, since the unhandled callback swallows the exception.
A Flutter app may crash tho if the crash happened in the Native layer, a (C, C++) code on Android or iOS), if that happens, you will see an "Unhandled" label on Sentry issues.
If you want to filter all unhandled events on Flutter, You may be interested in this issue https://github.com/getsentry/sentry-dart/issues/456
在发送器中,您可以指定要发送的错误级别。
我建议你阅读Sentery for flutter文档的这一部分。
请访问此网址(diagnosticLevel)。
Sentry 基本选项
In the Senter you can specify the level of errors to be sent.
I suggest you read this part of the document Sentery for flutter.
Please visit this url (diagnosticLevel).
Sentry Basic Options