Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.
This repository was archived by the owner on May 5, 2020. It is now read-only.

Error being swallowed when trying to open a websocket with a # character in its url #11

@davoclavo

Description

@davoclavo

While building an Elm app connecting to a Phoenix channel, I was using tokens that contained # characters in them. As I naively thought they were just a plain string I wasn't uri encoding it before adding it to the query parameters of the socket url.

There is a DOMException when attempting to do new WebSocket(url) and it is being swallowed, is there a way to surface this error?

screen shot 2016-07-04 at 2 58 13 am

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