Skip to content

Bug: SDK crashes when Horizon is unreachable #341

Description

@Jaydbrown

Describe the bug

If the user's internet drops or the Horizon RPC goes down, streamClient.getStream() throws an unhandled TypeError: fetch failed or similar.

Expected Behavior

It should catch the network error and throw a standardized StreamFiNetworkError, which the frontend can easily catch and display as a 'Network Offline' banner.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions