Skip to content

Network errors with the offlineExchange #1520

Answered by kitten
bigescalade asked this question in Q&A
Discussion options

You must be logged in to vote

Are you placing the errorExchange before or after the offlineExchange? If it's not showing you the network errors then it's likely before the offlineExchange; as operations travel forward in the list of exchanges and results backwards by the time the network error reaches the offlineExchange it may be swallowed if you're looking at failed queries, so you'll have to place it after the offlineExchange.

We're also still thinking about how to improve this process. Our original idea behind this mechanism of swallowed errors is that the UI should be completely resilient to offline states. However, we realise now that sometimes there need to be escape hatches when an incomplete result (partial o…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bigescalade
Comment options

Answer selected by bigescalade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants