You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2020. It is now read-only.
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?
The text was updated successfully, but these errors were encountered:
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 freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 donew WebSocket(url)
and it is being swallowed, is there a way to surface this error?The text was updated successfully, but these errors were encountered: