Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes when offchain APIs are down #441

Open
riordanp opened this issue Aug 6, 2024 · 0 comments
Open

App crashes when offchain APIs are down #441

riordanp opened this issue Aug 6, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@riordanp
Copy link
Contributor

riordanp commented Aug 6, 2024

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.

@riordanp riordanp added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant