Skip to content
This repository has been 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

Open
davoclavo opened this issue Jul 4, 2016 · 0 comments

Comments

@davoclavo
Copy link

davoclavo commented Jul 4, 2016

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

@davoclavo davoclavo changed the title Error being swallowed when trying to open a websocket with a # character in it Error being swallowed when trying to open a websocket with a # character in its url Jul 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant