ApollonetWorkexception在Android上的Apollo突变时
我正在为Android使用apolloclient
。有时,一个突变API因apollonetworkexception
而失败。问题是我无法在调试中产生。当我有一些firebase 非致命
日志时,此例外发生在实时版本中。我在这个例外收到的消息是
无法执行HTTP调用
调用为apollonetworkexception
没有任何代码
,所以我感到困惑,这是服务器端问题应用程序附加问题吗?
当无法执行HTTP呼叫
异常消息时,会抛出吗?
我只收到异常消息,所以我无法弄清楚怎么了。
我使用的是Apollo版本1.3.2
apollo-rx2-support
。
我的API呼叫代码段就像
val mutation = ....
ApolloProvider.getApolloNetworkClient(...url...)
.rxMutate(mutation)
.map{
}
请帮助我找出原因。
提前致谢。
I am using ApolloClient
for Android. Sometime one mutation api failed with ApolloNetworkException
. Problem is i can't generate in debugging. This exception occurs sometime in live version as i got some firebase non fatal
log for this. And the message i got for this exception is
Failed to execute http call
As ApolloNetworkException
don't have any code
so i got confused that is it server side issue of application side issue?
When Failed to execute http call
exception message is thrown?
I only get exception message so i can't figure out whats going wrong.
I am using Apollo version 1.3.2
with apollo-rx2-support
.
My api call code snippet is like
val mutation = ....
ApolloProvider.getApolloNetworkClient(...url...)
.rxMutate(mutation)
.map{
}
Please help me to find out the cause.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论