App crashes when offchain APIs are down #441
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
The app depends on various offchain APIs for features such as trade history, average funding rates, and PnL over time tracking.
Sometimes when the APIs are unavailable or produce unexpected responses, it causes unhandled exceptions and app crashes. The UI should be resilient to these sort of failures in external services, and continue to allow users to manage their accounts using the web3 only features (data fetched on-chain, sending transactions). The app should be refactored to better handle these errors without causing crashed, and provide a warning to users about a degraded experience.
If you'd like to work on this issue or discuss an implementation, please reach out on our Discord server in the #dev-discussion channel.
The text was updated successfully, but these errors were encountered: