Skip to content

App crashes when offchain APIs are down #441

@riordanp

Description

@riordanp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions