{"action":"created","comment":{"url":"https://api.github.com/repos/SuaveIO/suave/pulls/comments/30582184","id":30582184,"diff_hunk":"@@ -208,7 +193,13 @@ module WebSocket =\n       | Some str when str.Contains \"Upgrade\" -> \n         match r.header \"sec-websocket-key\" with\n         | Some webSocketKey ->\n-          return! handShakeAux webSocketKey continuation ctx\n+          let! a = handShakeAux webSocketKey continuation ctx\n+          match a with\n+          | Choice1Of2 _ ->\n+            do ()\n+          | Choice2Of2 err ->\n+            Log.log ctx.runtime.logger \"Suave.Websocket.handShake\" LogLevel.Error (sprintf \"websocket disconnected: %A\" err)","path":"src/Suave/WebSocket.fs","position":61,"original_position":61,"commit_id":"85d523ca79c48212aea57c27819e28c56d6591f9","original_commit_id":"85d523ca79c48212aea57c27819e28c56d6591f9","user":{"login":"haf","id":193115,"avatar_url":"https://avatars.githubusercontent.com/u/193115?v=3","gravatar_id":"","url":"https://api.github.com/users/haf","html_url":"https://github.com/haf","followers_url":"https://api.github.com/users/haf/followers","following_url":"https://api.github.com/users/haf/following{/other_user}","gists_url":"https://api.github.com/users/haf/gists{/gist_id}","starred_url":"https://api.github.com/users/haf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haf/subscriptions","organizations_url":"https://api.github.com/users/haf/orgs","repos_url":"https://api.github.com/users/haf/repos","events_url":"https://api.github.com/users/haf/events{/privacy}","received_events_url":"https://api.github.com/users/haf/received_events","type":"User","site_admin":false},"body":"I think we have Log.errorf","created_at":"2015-05-19T09:21:24Z","updated_at":"2015-05-19T09:21:24Z","html_url":"https://github.com/SuaveIO/suave/pull/251#discussion_r30582184","pull_request_url":"https://api.github.com/repos/SuaveIO/suave/pulls/251","_links":{"self":{"href":"https://api.github.com/repos/SuaveIO/suave/pulls/comments/30582184"},"html":{"href":"https://github.com/SuaveIO/suave/pull/251#discussion_r30582184"},"pull_request":{"href":"https://api.github.com/repos/SuaveIO/suave/pulls/251"}}},"pull_request":{"url":"https://api.github.com/repos/SuaveIO/suave/pulls/251","id":35647356,"html_url":"https://github.com/SuaveIO/suave/pull/251","diff_url":"https://github.com/SuaveIO/suave/pull/251.diff","patch_url":"https://github.com/SuaveIO/suave/pull/251.patch","issue_url":"https://api.github.com/repos/SuaveIO/suave/issues/251","number":251,"state":"open","locked":false,"title":"change websocket continuation signature + deal with socket error","user":{"login":"ademar","id":140796,"avatar_url":"https://avatars.githubusercontent.com/u/140796?v=3","gravatar_id":"","url":"https://api.github.com/users/ademar","html_url":"https://github.com/ademar","followers_url":"https://api.github.com/users/ademar/followers","following_url":"https://api.github.com/users/ademar/following{/other_user}","gists_url":"https://api.github.com/users/ademar/gists{/gist_id}","starred_url":"https://api.github.com/users/ademar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ademar/subscriptions","organizations_url":"https://api.github.com/users/ademar/orgs","repos_url":"https://api.github.com/users/ademar/repos","events_url":"https://api.github.com/users/ademar/events{/privacy}","received_events_url":"https://api.github.com/users/ademar/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-18T15:56:01Z","updated_at":"2015-05-19T09:21:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"893790ae9a7df4c25a5a8938f795c63283f7f0c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SuaveIO/suave/pulls/251/commits","review_comments_url":"https://api.github.com/repos/SuaveIO/suave/pulls/251/comments","review_comment_url":"https://api.github.com/repos/SuaveIO/suave/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SuaveIO/suave/issues/251/comments","statuses_url":"https://api.github.com/repos/SuaveIO/suave/statuses/85d523ca79c48212aea57c27819e28c56d6591f9","head":{"label":"SuaveIO:feature/websocket-change","ref":"feature/websocket-change","sha":"85d523ca79c48212aea57c27819e28c56d6591f9","user":{"login":"SuaveIO","id":5822862,"avatar_url":"https://avatars.githubusercontent.com/u/5822862?v=3","gravatar_id":"","url":"https://api.github.com/users/SuaveIO","html_url":"https://github.com/SuaveIO","followers_url":"https://api.github.com/users/SuaveIO/followers","following_url":"https://api.github.com/users/SuaveIO/following{/other_user}","gists_url":"https://api.github.com/users/SuaveIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SuaveIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuaveIO/subscriptions","organizations_url":"https://api.github.com/users/SuaveIO/orgs","repos_url":"https://api.github.com/users/SuaveIO/repos","events_url":"https://api.github.com/users/SuaveIO/events{/privacy}","received_events_url":"https://api.github.com/users/SuaveIO/received_events","type":"Organization","site_admin":false},"repo":{"id":755200,"name":"suave","full_name":"SuaveIO/suave","owner":{"login":"SuaveIO","id":5822862,"avatar_url":"https://avatars.githubusercontent.com/u/5822862?v=3","gravatar_id":"","url":"https://api.github.com/users/SuaveIO","html_url":"https://github.com/SuaveIO","followers_url":"https://api.github.com/users/SuaveIO/followers","following_url":"https://api.github.com/users/SuaveIO/following{/other_user}","gists_url":"https://api.github.com/users/SuaveIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SuaveIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuaveIO/subscriptions","organizations_url":"https://api.github.com/users/SuaveIO/orgs","repos_url":"https://api.github.com/users/SuaveIO/repos","events_url":"https://api.github.com/users/SuaveIO/events{/privacy}","received_events_url":"https://api.github.com/users/SuaveIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SuaveIO/suave","description":"Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.","fork":false,"url":"https://api.github.com/repos/SuaveIO/suave","forks_url":"https://api.github.com/repos/SuaveIO/suave/forks","keys_url":"https://api.github.com/repos/SuaveIO/suave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SuaveIO/suave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SuaveIO/suave/teams","hooks_url":"https://api.github.com/repos/SuaveIO/suave/hooks","issue_events_url":"https://api.github.com/repos/SuaveIO/suave/issues/events{/number}","events_url":"https://api.github.com/repos/SuaveIO/suave/events","assignees_url":"https://api.github.com/repos/SuaveIO/suave/assignees{/user}","branches_url":"https://api.github.com/repos/SuaveIO/suave/branches{/branch}","tags_url":"https://api.github.com/repos/SuaveIO/suave/tags","blobs_url":"https://api.github.com/repos/SuaveIO/suave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SuaveIO/suave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SuaveIO/suave/git/refs{/sha}","trees_url":"https://api.github.com/repos/SuaveIO/suave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SuaveIO/suave/statuses/{sha}","languages_url":"https://api.github.com/repos/SuaveIO/suave/languages","stargazers_url":"https://api.github.com/repos/SuaveIO/suave/stargazers","contributors_url":"https://api.github.com/repos/SuaveIO/suave/contributors","subscribers_url":"https://api.github.com/repos/SuaveIO/suave/subscribers","subscription_url":"https://api.github.com/repos/SuaveIO/suave/subscription","commits_url":"https://api.github.com/repos/SuaveIO/suave/commits{/sha}","git_commits_url":"https://api.github.com/repos/SuaveIO/suave/git/commits{/sha}","comments_url":"https://api.github.com/repos/SuaveIO/suave/comments{/number}","issue_comment_url":"https://api.github.com/repos/SuaveIO/suave/issues/comments{/number}","contents_url":"https://api.github.com/repos/SuaveIO/suave/contents/{+path}","compare_url":"https://api.github.com/repos/SuaveIO/suave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SuaveIO/suave/merges","archive_url":"https://api.github.com/repos/SuaveIO/suave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SuaveIO/suave/downloads","issues_url":"https://api.github.com/repos/SuaveIO/suave/issues{/number}","pulls_url":"https://api.github.com/repos/SuaveIO/suave/pulls{/number}","milestones_url":"https://api.github.com/repos/SuaveIO/suave/milestones{/number}","notifications_url":"https://api.github.com/repos/SuaveIO/suave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SuaveIO/suave/labels{/name}","releases_url":"https://api.github.com/repos/SuaveIO/suave/releases{/id}","created_at":"2010-07-03T15:26:06Z","updated_at":"2015-05-16T17:01:00Z","pushed_at":"2015-05-19T08:51:28Z","git_url":"git://github.com/SuaveIO/suave.git","ssh_url":"git@github.com:SuaveIO/suave.git","clone_url":"https://github.com/SuaveIO/suave.git","svn_url":"https://github.com/SuaveIO/suave","homepage":"http://suave.io","size":11737,"stargazers_count":229,"watchers_count":229,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":38,"mirror_url":null,"open_issues_count":40,"forks":38,"open_issues":40,"watchers":229,"default_branch":"master"}},"base":{"label":"SuaveIO:master","ref":"master","sha":"cf08f6a7b59815740ad4cb33b786ff4a99c84670","user":{"login":"SuaveIO","id":5822862,"avatar_url":"https://avatars.githubusercontent.com/u/5822862?v=3","gravatar_id":"","url":"https://api.github.com/users/SuaveIO","html_url":"https://github.com/SuaveIO","followers_url":"https://api.github.com/users/SuaveIO/followers","following_url":"https://api.github.com/users/SuaveIO/following{/other_user}","gists_url":"https://api.github.com/users/SuaveIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SuaveIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuaveIO/subscriptions","organizations_url":"https://api.github.com/users/SuaveIO/orgs","repos_url":"https://api.github.com/users/SuaveIO/repos","events_url":"https://api.github.com/users/SuaveIO/events{/privacy}","received_events_url":"https://api.github.com/users/SuaveIO/received_events","type":"Organization","site_admin":false},"repo":{"id":755200,"name":"suave","full_name":"SuaveIO/suave","owner":{"login":"SuaveIO","id":5822862,"avatar_url":"https://avatars.githubusercontent.com/u/5822862?v=3","gravatar_id":"","url":"https://api.github.com/users/SuaveIO","html_url":"https://github.com/SuaveIO","followers_url":"https://api.github.com/users/SuaveIO/followers","following_url":"https://api.github.com/users/SuaveIO/following{/other_user}","gists_url":"https://api.github.com/users/SuaveIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SuaveIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuaveIO/subscriptions","organizations_url":"https://api.github.com/users/SuaveIO/orgs","repos_url":"https://api.github.com/users/SuaveIO/repos","events_url":"https://api.github.com/users/SuaveIO/events{/privacy}","received_events_url":"https://api.github.com/users/SuaveIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SuaveIO/suave","description":"Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.","fork":false,"url":"https://api.github.com/repos/SuaveIO/suave","forks_url":"https://api.github.com/repos/SuaveIO/suave/forks","keys_url":"https://api.github.com/repos/SuaveIO/suave/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SuaveIO/suave/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SuaveIO/suave/teams","hooks_url":"https://api.github.com/repos/SuaveIO/suave/hooks","issue_events_url":"https://api.github.com/repos/SuaveIO/suave/issues/events{/number}","events_url":"https://api.github.com/repos/SuaveIO/suave/events","assignees_url":"https://api.github.com/repos/SuaveIO/suave/assignees{/user}","branches_url":"https://api.github.com/repos/SuaveIO/suave/branches{/branch}","tags_url":"https://api.github.com/repos/SuaveIO/suave/tags","blobs_url":"https://api.github.com/repos/SuaveIO/suave/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SuaveIO/suave/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SuaveIO/suave/git/refs{/sha}","trees_url":"https://api.github.com/repos/SuaveIO/suave/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SuaveIO/suave/statuses/{sha}","languages_url":"https://api.github.com/repos/SuaveIO/suave/languages","stargazers_url":"https://api.github.com/repos/SuaveIO/suave/stargazers","contributors_url":"https://api.github.com/repos/SuaveIO/suave/contributors","subscribers_url":"https://api.github.com/repos/SuaveIO/suave/subscribers","subscription_url":"https://api.github.com/repos/SuaveIO/suave/subscription","commits_url":"https://api.github.com/repos/SuaveIO/suave/commits{/sha}","git_commits_url":"https://api.github.com/repos/SuaveIO/suave/git/commits{/sha}","comments_url":"https://api.github.com/repos/SuaveIO/suave/comments{/number}","issue_comment_url":"https://api.github.com/repos/SuaveIO/suave/issues/comments{/number}","contents_url":"https://api.github.com/repos/SuaveIO/suave/contents/{+path}","compare_url":"https://api.github.com/repos/SuaveIO/suave/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SuaveIO/suave/merges","archive_url":"https://api.github.com/repos/SuaveIO/suave/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SuaveIO/suave/downloads","issues_url":"https://api.github.com/repos/SuaveIO/suave/issues{/number}","pulls_url":"https://api.github.com/repos/SuaveIO/suave/pulls{/number}","milestones_url":"https://api.github.com/repos/SuaveIO/suave/milestones{/number}","notifications_url":"https://api.github.com/repos/SuaveIO/suave/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SuaveIO/suave/labels{/name}","releases_url":"https://api.github.com/repos/SuaveIO/suave/releases{/id}","created_at":"2010-07-03T15:26:06Z","updated_at":"2015-05-16T17:01:00Z","pushed_at":"2015-05-19T08:51:28Z","git_url":"git://github.com/SuaveIO/suave.git","ssh_url":"git@github.com:SuaveIO/suave.git","clone_url":"https://github.com/SuaveIO/suave.git","svn_url":"https://github.com/SuaveIO/suave","homepage":"http://suave.io","size":11737,"stargazers_count":229,"watchers_count":229,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":38,"mirror_url":null,"open_issues_count":40,"forks":38,"open_issues":40,"watchers":229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SuaveIO/suave/pulls/251"},"html":{"href":"https://github.com/SuaveIO/suave/pull/251"},"issue":{"href":"https://api.github.com/repos/SuaveIO/suave/issues/251"},"comments":{"href":"https://api.github.com/repos/SuaveIO/suave/issues/251/comments"},"review_comments":{"href":"https://api.github.com/repos/SuaveIO/suave/pulls/251/comments"},"review_comment":{"href":"https://api.github.com/repos/SuaveIO/suave/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SuaveIO/suave/pulls/251/commits"},"statuses":{"href":"https://api.github.com/repos/SuaveIO/suave/statuses/85d523ca79c48212aea57c27819e28c56d6591f9"}}}}