Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails silently on malformed URL #22

Open
max-vogler opened this issue Dec 30, 2016 · 1 comment
Open

Fails silently on malformed URL #22

max-vogler opened this issue Dec 30, 2016 · 1 comment

Comments

@max-vogler
Copy link

Using a malformed URL leads to a hard traceable error:

Phoenix.Socket.init "/socket/websocket" -- instead of "ws://localhost:4000/socket/websocket"

No error message is displayed in the console and no request is made. Logging an error or warning would be helpful.

@maxstr
Copy link
Collaborator

maxstr commented Mar 20, 2017

Looks pretty similar to #19. We need to add socket connection info to the log if debugging is enabled on the socket.

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

No branches or pull requests

2 participants