{"action":"created","comment":{"url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/comments/59517937","id":59517937,"diff_hunk":"@@ -1,7 +1,7 @@\n export default class LiveError extends Error {\n     constructor(errorObj) {\n         super();\n-        this.message = `Server Error: (${errorObj.code}) ${errorObj.message}`;\n+        this.message = `Server Error: (${errorObj.code}) ${errorObj.message}, caused by ${errorObj.echo_req}`;","path":"src/LiveError.js","position":5,"original_position":5,"commit_id":"5b4aac88675494e7323230a37a85dc32b0710833","original_commit_id":"9ea79410a12f3d3b34a92e96304d22e6ca69ba02","user":{"login":"borisyankov","id":867242,"avatar_url":"https://avatars.githubusercontent.com/u/867242?v=3","gravatar_id":"","url":"https://api.github.com/users/borisyankov","html_url":"https://github.com/borisyankov","followers_url":"https://api.github.com/users/borisyankov/followers","following_url":"https://api.github.com/users/borisyankov/following{/other_user}","gists_url":"https://api.github.com/users/borisyankov/gists{/gist_id}","starred_url":"https://api.github.com/users/borisyankov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisyankov/subscriptions","organizations_url":"https://api.github.com/users/borisyankov/orgs","repos_url":"https://api.github.com/users/borisyankov/repos","events_url":"https://api.github.com/users/borisyankov/events{/privacy}","received_events_url":"https://api.github.com/users/borisyankov/received_events","type":"User","site_admin":false},"body":"Good idea, I implemented it more thoroughly in another commit ;)","created_at":"2016-04-13T09:24:08Z","updated_at":"2016-04-13T09:24:08Z","html_url":"https://github.com/binary-com/binary-live-api/pull/37#discussion_r59517937","pull_request_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/comments/59517937"},"html":{"href":"https://github.com/binary-com/binary-live-api/pull/37#discussion_r59517937"},"pull_request":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/37","id":66276214,"html_url":"https://github.com/binary-com/binary-live-api/pull/37","diff_url":"https://github.com/binary-com/binary-live-api/pull/37.diff","patch_url":"https://github.com/binary-com/binary-live-api/pull/37.patch","issue_url":"https://api.github.com/repos/binary-com/binary-live-api/issues/37","number":37,"state":"open","locked":false,"title":"Qingwei/fix resubscribe bug","user":{"login":"qingweibinary","id":14971922,"avatar_url":"https://avatars.githubusercontent.com/u/14971922?v=3","gravatar_id":"","url":"https://api.github.com/users/qingweibinary","html_url":"https://github.com/qingweibinary","followers_url":"https://api.github.com/users/qingweibinary/followers","following_url":"https://api.github.com/users/qingweibinary/following{/other_user}","gists_url":"https://api.github.com/users/qingweibinary/gists{/gist_id}","starred_url":"https://api.github.com/users/qingweibinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingweibinary/subscriptions","organizations_url":"https://api.github.com/users/qingweibinary/orgs","repos_url":"https://api.github.com/users/qingweibinary/repos","events_url":"https://api.github.com/users/qingweibinary/events{/privacy}","received_events_url":"https://api.github.com/users/qingweibinary/received_events","type":"User","site_admin":false},"body":"Not tested, better dun merge","created_at":"2016-04-13T07:23:29Z","updated_at":"2016-04-13T09:24:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d23a0f1b6734e3eb84d0f4fc2b2cbe547cf11960","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/37/commits","review_comments_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/37/comments","review_comment_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/binary-com/binary-live-api/issues/37/comments","statuses_url":"https://api.github.com/repos/binary-com/binary-live-api/statuses/5b4aac88675494e7323230a37a85dc32b0710833","head":{"label":"qingweibinary:qingwei/fix_resubscribe_bug","ref":"qingwei/fix_resubscribe_bug","sha":"5b4aac88675494e7323230a37a85dc32b0710833","user":{"login":"qingweibinary","id":14971922,"avatar_url":"https://avatars.githubusercontent.com/u/14971922?v=3","gravatar_id":"","url":"https://api.github.com/users/qingweibinary","html_url":"https://github.com/qingweibinary","followers_url":"https://api.github.com/users/qingweibinary/followers","following_url":"https://api.github.com/users/qingweibinary/following{/other_user}","gists_url":"https://api.github.com/users/qingweibinary/gists{/gist_id}","starred_url":"https://api.github.com/users/qingweibinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingweibinary/subscriptions","organizations_url":"https://api.github.com/users/qingweibinary/orgs","repos_url":"https://api.github.com/users/qingweibinary/repos","events_url":"https://api.github.com/users/qingweibinary/events{/privacy}","received_events_url":"https://api.github.com/users/qingweibinary/received_events","type":"User","site_admin":false},"repo":{"id":44098461,"name":"binary-live-api","full_name":"qingweibinary/binary-live-api","owner":{"login":"qingweibinary","id":14971922,"avatar_url":"https://avatars.githubusercontent.com/u/14971922?v=3","gravatar_id":"","url":"https://api.github.com/users/qingweibinary","html_url":"https://github.com/qingweibinary","followers_url":"https://api.github.com/users/qingweibinary/followers","following_url":"https://api.github.com/users/qingweibinary/following{/other_user}","gists_url":"https://api.github.com/users/qingweibinary/gists{/gist_id}","starred_url":"https://api.github.com/users/qingweibinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingweibinary/subscriptions","organizations_url":"https://api.github.com/users/qingweibinary/orgs","repos_url":"https://api.github.com/users/qingweibinary/repos","events_url":"https://api.github.com/users/qingweibinary/events{/privacy}","received_events_url":"https://api.github.com/users/qingweibinary/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qingweibinary/binary-live-api","description":"JS library to consume Binary.com WebSocket API","fork":true,"url":"https://api.github.com/repos/qingweibinary/binary-live-api","forks_url":"https://api.github.com/repos/qingweibinary/binary-live-api/forks","keys_url":"https://api.github.com/repos/qingweibinary/binary-live-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qingweibinary/binary-live-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qingweibinary/binary-live-api/teams","hooks_url":"https://api.github.com/repos/qingweibinary/binary-live-api/hooks","issue_events_url":"https://api.github.com/repos/qingweibinary/binary-live-api/issues/events{/number}","events_url":"https://api.github.com/repos/qingweibinary/binary-live-api/events","assignees_url":"https://api.github.com/repos/qingweibinary/binary-live-api/assignees{/user}","branches_url":"https://api.github.com/repos/qingweibinary/binary-live-api/branches{/branch}","tags_url":"https://api.github.com/repos/qingweibinary/binary-live-api/tags","blobs_url":"https://api.github.com/repos/qingweibinary/binary-live-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qingweibinary/binary-live-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qingweibinary/binary-live-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/qingweibinary/binary-live-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qingweibinary/binary-live-api/statuses/{sha}","languages_url":"https://api.github.com/repos/qingweibinary/binary-live-api/languages","stargazers_url":"https://api.github.com/repos/qingweibinary/binary-live-api/stargazers","contributors_url":"https://api.github.com/repos/qingweibinary/binary-live-api/contributors","subscribers_url":"https://api.github.com/repos/qingweibinary/binary-live-api/subscribers","subscription_url":"https://api.github.com/repos/qingweibinary/binary-live-api/subscription","commits_url":"https://api.github.com/repos/qingweibinary/binary-live-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/qingweibinary/binary-live-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/qingweibinary/binary-live-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/qingweibinary/binary-live-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/qingweibinary/binary-live-api/contents/{+path}","compare_url":"https://api.github.com/repos/qingweibinary/binary-live-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qingweibinary/binary-live-api/merges","archive_url":"https://api.github.com/repos/qingweibinary/binary-live-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qingweibinary/binary-live-api/downloads","issues_url":"https://api.github.com/repos/qingweibinary/binary-live-api/issues{/number}","pulls_url":"https://api.github.com/repos/qingweibinary/binary-live-api/pulls{/number}","milestones_url":"https://api.github.com/repos/qingweibinary/binary-live-api/milestones{/number}","notifications_url":"https://api.github.com/repos/qingweibinary/binary-live-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qingweibinary/binary-live-api/labels{/name}","releases_url":"https://api.github.com/repos/qingweibinary/binary-live-api/releases{/id}","deployments_url":"https://api.github.com/repos/qingweibinary/binary-live-api/deployments","created_at":"2015-10-12T09:46:09Z","updated_at":"2015-10-12T09:46:10Z","pushed_at":"2016-04-13T09:15:50Z","git_url":"git://github.com/qingweibinary/binary-live-api.git","ssh_url":"git@github.com:qingweibinary/binary-live-api.git","clone_url":"https://github.com/qingweibinary/binary-live-api.git","svn_url":"https://github.com/qingweibinary/binary-live-api","homepage":"https://developers.binary.com","size":341,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"binary-com:master","ref":"master","sha":"206ae5dcfd9806022c17110ece60cc5230fda090","user":{"login":"binary-com","id":7437559,"avatar_url":"https://avatars.githubusercontent.com/u/7437559?v=3","gravatar_id":"","url":"https://api.github.com/users/binary-com","html_url":"https://github.com/binary-com","followers_url":"https://api.github.com/users/binary-com/followers","following_url":"https://api.github.com/users/binary-com/following{/other_user}","gists_url":"https://api.github.com/users/binary-com/gists{/gist_id}","starred_url":"https://api.github.com/users/binary-com/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary-com/subscriptions","organizations_url":"https://api.github.com/users/binary-com/orgs","repos_url":"https://api.github.com/users/binary-com/repos","events_url":"https://api.github.com/users/binary-com/events{/privacy}","received_events_url":"https://api.github.com/users/binary-com/received_events","type":"Organization","site_admin":false},"repo":{"id":36850842,"name":"binary-live-api","full_name":"binary-com/binary-live-api","owner":{"login":"binary-com","id":7437559,"avatar_url":"https://avatars.githubusercontent.com/u/7437559?v=3","gravatar_id":"","url":"https://api.github.com/users/binary-com","html_url":"https://github.com/binary-com","followers_url":"https://api.github.com/users/binary-com/followers","following_url":"https://api.github.com/users/binary-com/following{/other_user}","gists_url":"https://api.github.com/users/binary-com/gists{/gist_id}","starred_url":"https://api.github.com/users/binary-com/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary-com/subscriptions","organizations_url":"https://api.github.com/users/binary-com/orgs","repos_url":"https://api.github.com/users/binary-com/repos","events_url":"https://api.github.com/users/binary-com/events{/privacy}","received_events_url":"https://api.github.com/users/binary-com/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/binary-com/binary-live-api","description":"JS library to consume Binary.com WebSocket API","fork":false,"url":"https://api.github.com/repos/binary-com/binary-live-api","forks_url":"https://api.github.com/repos/binary-com/binary-live-api/forks","keys_url":"https://api.github.com/repos/binary-com/binary-live-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/binary-com/binary-live-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/binary-com/binary-live-api/teams","hooks_url":"https://api.github.com/repos/binary-com/binary-live-api/hooks","issue_events_url":"https://api.github.com/repos/binary-com/binary-live-api/issues/events{/number}","events_url":"https://api.github.com/repos/binary-com/binary-live-api/events","assignees_url":"https://api.github.com/repos/binary-com/binary-live-api/assignees{/user}","branches_url":"https://api.github.com/repos/binary-com/binary-live-api/branches{/branch}","tags_url":"https://api.github.com/repos/binary-com/binary-live-api/tags","blobs_url":"https://api.github.com/repos/binary-com/binary-live-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/binary-com/binary-live-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/binary-com/binary-live-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/binary-com/binary-live-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/binary-com/binary-live-api/statuses/{sha}","languages_url":"https://api.github.com/repos/binary-com/binary-live-api/languages","stargazers_url":"https://api.github.com/repos/binary-com/binary-live-api/stargazers","contributors_url":"https://api.github.com/repos/binary-com/binary-live-api/contributors","subscribers_url":"https://api.github.com/repos/binary-com/binary-live-api/subscribers","subscription_url":"https://api.github.com/repos/binary-com/binary-live-api/subscription","commits_url":"https://api.github.com/repos/binary-com/binary-live-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/binary-com/binary-live-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/binary-com/binary-live-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/binary-com/binary-live-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/binary-com/binary-live-api/contents/{+path}","compare_url":"https://api.github.com/repos/binary-com/binary-live-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/binary-com/binary-live-api/merges","archive_url":"https://api.github.com/repos/binary-com/binary-live-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/binary-com/binary-live-api/downloads","issues_url":"https://api.github.com/repos/binary-com/binary-live-api/issues{/number}","pulls_url":"https://api.github.com/repos/binary-com/binary-live-api/pulls{/number}","milestones_url":"https://api.github.com/repos/binary-com/binary-live-api/milestones{/number}","notifications_url":"https://api.github.com/repos/binary-com/binary-live-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/binary-com/binary-live-api/labels{/name}","releases_url":"https://api.github.com/repos/binary-com/binary-live-api/releases{/id}","deployments_url":"https://api.github.com/repos/binary-com/binary-live-api/deployments","created_at":"2015-06-04T05:50:49Z","updated_at":"2016-03-20T13:19:55Z","pushed_at":"2016-04-13T09:16:12Z","git_url":"git://github.com/binary-com/binary-live-api.git","ssh_url":"git@github.com:binary-com/binary-live-api.git","clone_url":"https://github.com/binary-com/binary-live-api.git","svn_url":"https://github.com/binary-com/binary-live-api","homepage":"https://developers.binary.com","size":327,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/37"},"html":{"href":"https://github.com/binary-com/binary-live-api/pull/37"},"issue":{"href":"https://api.github.com/repos/binary-com/binary-live-api/issues/37"},"comments":{"href":"https://api.github.com/repos/binary-com/binary-live-api/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/binary-com/binary-live-api/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/binary-com/binary-live-api/statuses/5b4aac88675494e7323230a37a85dc32b0710833"}}}}