Skip to content

How to handle connection error ? #347

Description

@mrleblanc101

I'm building an SPA, and if I start the SPA and the WS server is not started, I would want to display a Toast or an error.
Currently, I get this in the console, but I can't seem to find a way to catch this error:

index.js:67 WebSocket connection to 'ws://my-project.localhost/rpc/' failed

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions