光纤网络非致命

时间:2018-08-29 07:21:10

标签: android retrofit2 crashlytics okhttp3 google-fabric

我在面料中有这些非致命因素,我必须确保我对这些非致命因素了解得很好,而且我这边也没有采取任何行动。

忽略报告是否正确?

enter image description here enter image description here 原因 enter image description here 我的理解: 当用户尝试在没有Internet访问的情况下尝试访问该应用程序时,就会发生这种致命事故。

enter image description here enter image description here 原因 enter image description here 我的理解: 当API或设备网络超时时,这种非致命事件就会发生。

enter image description here enter image description here 原因 enter image description here 我的理解: 当用户具有Internet连接但无法连接到API时,会发生这种非致命事件。

enter image description here enter image description here 原因 enter image description here

我的理解 当API关闭连接时,这种非致命事件发生

enter image description here enter image description here 原因 enter image description here 我的理解: 当设备配置中的自定义代理时,会发生这种非致命事件。

1 个答案:

答案 0 :(得分:0)

  

忽略报告是否正确?

取决于您,任何错误都是用户满意度的高低。发生崩溃的原因更多,因为它分散了用户以最苛刻的方式进行操作的注意力。

非致命错误仍然是一个错误,破坏了您应用程序的某些功能。

关于您的情况,由于用户的互联网连接出现问题,您似乎无法对此类错误采取任何措施。

首先谈到这种错误,您可以在try-catch块中自行设置它们

try {
  myMethodThatThrows();
} catch (Exception e) {
  Crashlytics.logException(e);
  // handle your exception here!
}

它将非致命错误发送到您的结构仪表板。您可以在这里阅读有关它们的更多信息:Caught Exceptions