You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
My problem is that convertResponseToResult function does not always include the original URLRequest
So if the error is "No internet" we will get
MoyaError.underlying(error, nil), i.e. the error is missing the context of the original request which in my case is important
For example in my custom plugin, "didReceive(..." when I receive this error I get very limited information about the original request (I can only get some info from TargetType object) and I am unable to match it with willSend function
Please consider updating the source so that on all errors we have attached the original request
The text was updated successfully, but these errors were encountered:
Hi,
My problem is that convertResponseToResult function does not always include the original URLRequest
So if the error is "No internet" we will get
MoyaError.underlying(error, nil), i.e. the error is missing the context of the original request which in my case is important
For example in my custom plugin, "didReceive(..." when I receive this error I get very limited information about the original request (I can only get some info from TargetType object) and I am unable to match it with willSend function
Please consider updating the source so that on all errors we have attached the original request
The text was updated successfully, but these errors were encountered: