{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6397","labels_url":"https://api.github.com/repos/servo/servo/issues/6397/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6397/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6397/events","html_url":"https://github.com/servo/servo/pull/6397","id":88647918,"number":6397,"title":"WebSocket constructor should not panic","user":{"login":"Ms2ger","id":111161,"avatar_url":"https://avatars.githubusercontent.com/u/111161?v=3","gravatar_id":"","url":"https://api.github.com/users/Ms2ger","html_url":"https://github.com/Ms2ger","followers_url":"https://api.github.com/users/Ms2ger/followers","following_url":"https://api.github.com/users/Ms2ger/following{/other_user}","gists_url":"https://api.github.com/users/Ms2ger/gists{/gist_id}","starred_url":"https://api.github.com/users/Ms2ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ms2ger/subscriptions","organizations_url":"https://api.github.com/users/Ms2ger/orgs","repos_url":"https://api.github.com/users/Ms2ger/repos","events_url":"https://api.github.com/users/Ms2ger/events{/privacy}","received_events_url":"https://api.github.com/users/Ms2ger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/S-awaiting-review","name":"S-awaiting-review","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-16T07:45:28Z","updated_at":"2015-06-16T07:47:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/6397","html_url":"https://github.com/servo/servo/pull/6397","diff_url":"https://github.com/servo/servo/pull/6397.diff","patch_url":"https://github.com/servo/servo/pull/6397.patch"},"body":"Make an early return when the WebSocket connection fails in the constructor.\r\nAlso let the WebSocket connection to be closed when the connection could\r\nnot be established.\r\n\r\nFixes #6082."},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/112323500","html_url":"https://github.com/servo/servo/pull/6397#issuecomment-112323500","issue_url":"https://api.github.com/repos/servo/servo/issues/6397","id":112323500,"user":{"login":"bors-servo","id":4368172,"avatar_url":"https://avatars.githubusercontent.com/u/4368172?v=3","gravatar_id":"","url":"https://api.github.com/users/bors-servo","html_url":"https://github.com/bors-servo","followers_url":"https://api.github.com/users/bors-servo/followers","following_url":"https://api.github.com/users/bors-servo/following{/other_user}","gists_url":"https://api.github.com/users/bors-servo/gists{/gist_id}","starred_url":"https://api.github.com/users/bors-servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors-servo/subscriptions","organizations_url":"https://api.github.com/users/bors-servo/orgs","repos_url":"https://api.github.com/users/bors-servo/repos","events_url":"https://api.github.com/users/bors-servo/events{/privacy}","received_events_url":"https://api.github.com/users/bors-servo/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T07:47:09Z","updated_at":"2015-06-16T07:47:09Z","body":":pushpin: Commit 7781f33 has been approved by `Ms2ger`\n\n<!-- @bors-servo r=Ms2ger 7781f331d3407a895f1dadeeff3a74ad0c7f5ca8 -->"}}