Skip to content

Added try catch while creating the websocket connection#105

Merged
Pradhyumna02 merged 1 commit intoComcast:masterfrom
Pradhyumna02:WebSockets-Bug-Fix
Oct 9, 2017
Merged

Added try catch while creating the websocket connection#105
Pradhyumna02 merged 1 commit intoComcast:masterfrom
Pradhyumna02:WebSockets-Bug-Fix

Conversation

@Pradhyumna02
Copy link
Collaborator

Why: IE11 throws an error while trying to create websocket connection
How: Added try and catch while creating and closing the connection

this._request.close();
try {
this._request.close();
} catch (error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you update to } catch (error) {// jshint ignore:line

@rotosonic
Copy link
Collaborator

1+ once comment addressed

@hdoshi001c
Copy link

+1 lgtm

@Pradhyumna02 Pradhyumna02 merged commit a9bc812 into Comcast:master Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants