{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls/2","id":59858666,"html_url":"https://github.com/fergiemcdowall/search-index-replicator/pull/2","diff_url":"https://github.com/fergiemcdowall/search-index-replicator/pull/2.diff","patch_url":"https://github.com/fergiemcdowall/search-index-replicator/pull/2.patch","issue_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/issues/2","number":2,"state":"closed","locked":false,"title":"JSONStream.parse does not detect error listeners","user":{"login":"johnhaley81","id":867780,"avatar_url":"https://avatars.githubusercontent.com/u/867780?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhaley81","html_url":"https://github.com/johnhaley81","followers_url":"https://api.github.com/users/johnhaley81/followers","following_url":"https://api.github.com/users/johnhaley81/following{/other_user}","gists_url":"https://api.github.com/users/johnhaley81/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhaley81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhaley81/subscriptions","organizations_url":"https://api.github.com/users/johnhaley81/orgs","repos_url":"https://api.github.com/users/johnhaley81/repos","events_url":"https://api.github.com/users/johnhaley81/events{/privacy}","received_events_url":"https://api.github.com/users/johnhaley81/received_events","type":"User","site_admin":false},"body":"If you have an `.on('error', cb)` on a stream that has a `JSONStream.parse` in the pipe and something in that part errors, it will not go out to the listener on the stream. It has to be attached directly to the `JSONStream.parse()` stream.\r\n\r\nThis is related to #1 ","created_at":"2016-02-18T20:33:20Z","updated_at":"2016-02-18T21:37:12Z","closed_at":"2016-02-18T21:37:12Z","merged_at":"2016-02-18T21:37:12Z","merge_commit_sha":"6d626c74322380b21554fac7f83d97e30a39bb14","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls/2/commits","review_comments_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls/2/comments","review_comment_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/issues/2/comments","statuses_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/statuses/706055c59888a91d841019876f4e453444fd4d36","head":{"label":"johnhaley81:master","ref":"master","sha":"706055c59888a91d841019876f4e453444fd4d36","user":{"login":"johnhaley81","id":867780,"avatar_url":"https://avatars.githubusercontent.com/u/867780?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhaley81","html_url":"https://github.com/johnhaley81","followers_url":"https://api.github.com/users/johnhaley81/followers","following_url":"https://api.github.com/users/johnhaley81/following{/other_user}","gists_url":"https://api.github.com/users/johnhaley81/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhaley81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhaley81/subscriptions","organizations_url":"https://api.github.com/users/johnhaley81/orgs","repos_url":"https://api.github.com/users/johnhaley81/repos","events_url":"https://api.github.com/users/johnhaley81/events{/privacy}","received_events_url":"https://api.github.com/users/johnhaley81/received_events","type":"User","site_admin":false},"repo":{"id":52036204,"name":"search-index-replicator","full_name":"johnhaley81/search-index-replicator","owner":{"login":"johnhaley81","id":867780,"avatar_url":"https://avatars.githubusercontent.com/u/867780?v=3","gravatar_id":"","url":"https://api.github.com/users/johnhaley81","html_url":"https://github.com/johnhaley81","followers_url":"https://api.github.com/users/johnhaley81/followers","following_url":"https://api.github.com/users/johnhaley81/following{/other_user}","gists_url":"https://api.github.com/users/johnhaley81/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhaley81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhaley81/subscriptions","organizations_url":"https://api.github.com/users/johnhaley81/orgs","repos_url":"https://api.github.com/users/johnhaley81/repos","events_url":"https://api.github.com/users/johnhaley81/events{/privacy}","received_events_url":"https://api.github.com/users/johnhaley81/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnhaley81/search-index-replicator","description":"The replication module for search-index","fork":true,"url":"https://api.github.com/repos/johnhaley81/search-index-replicator","forks_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/forks","keys_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/teams","hooks_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/hooks","issue_events_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/issues/events{/number}","events_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/events","assignees_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/assignees{/user}","branches_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/branches{/branch}","tags_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/tags","blobs_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/statuses/{sha}","languages_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/languages","stargazers_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/stargazers","contributors_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/contributors","subscribers_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/subscribers","subscription_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/subscription","commits_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/contents/{+path}","compare_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/merges","archive_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/downloads","issues_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/issues{/number}","pulls_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/pulls{/number}","milestones_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/milestones{/number}","notifications_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/labels{/name}","releases_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/releases{/id}","deployments_url":"https://api.github.com/repos/johnhaley81/search-index-replicator/deployments","created_at":"2016-02-18T20:25:31Z","updated_at":"2016-02-18T20:25:32Z","pushed_at":"2016-02-18T20:53:43Z","git_url":"git://github.com/johnhaley81/search-index-replicator.git","ssh_url":"git@github.com:johnhaley81/search-index-replicator.git","clone_url":"https://github.com/johnhaley81/search-index-replicator.git","svn_url":"https://github.com/johnhaley81/search-index-replicator","homepage":null,"size":6,"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":"fergiemcdowall:master","ref":"master","sha":"49f35743d2cb3e0d56b993a18f36eacd87407567","user":{"login":"fergiemcdowall","id":1122333,"avatar_url":"https://avatars.githubusercontent.com/u/1122333?v=3","gravatar_id":"","url":"https://api.github.com/users/fergiemcdowall","html_url":"https://github.com/fergiemcdowall","followers_url":"https://api.github.com/users/fergiemcdowall/followers","following_url":"https://api.github.com/users/fergiemcdowall/following{/other_user}","gists_url":"https://api.github.com/users/fergiemcdowall/gists{/gist_id}","starred_url":"https://api.github.com/users/fergiemcdowall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fergiemcdowall/subscriptions","organizations_url":"https://api.github.com/users/fergiemcdowall/orgs","repos_url":"https://api.github.com/users/fergiemcdowall/repos","events_url":"https://api.github.com/users/fergiemcdowall/events{/privacy}","received_events_url":"https://api.github.com/users/fergiemcdowall/received_events","type":"User","site_admin":false},"repo":{"id":49879264,"name":"search-index-replicator","full_name":"fergiemcdowall/search-index-replicator","owner":{"login":"fergiemcdowall","id":1122333,"avatar_url":"https://avatars.githubusercontent.com/u/1122333?v=3","gravatar_id":"","url":"https://api.github.com/users/fergiemcdowall","html_url":"https://github.com/fergiemcdowall","followers_url":"https://api.github.com/users/fergiemcdowall/followers","following_url":"https://api.github.com/users/fergiemcdowall/following{/other_user}","gists_url":"https://api.github.com/users/fergiemcdowall/gists{/gist_id}","starred_url":"https://api.github.com/users/fergiemcdowall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fergiemcdowall/subscriptions","organizations_url":"https://api.github.com/users/fergiemcdowall/orgs","repos_url":"https://api.github.com/users/fergiemcdowall/repos","events_url":"https://api.github.com/users/fergiemcdowall/events{/privacy}","received_events_url":"https://api.github.com/users/fergiemcdowall/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fergiemcdowall/search-index-replicator","description":"The replication module for search-index","fork":false,"url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator","forks_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/forks","keys_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/teams","hooks_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/hooks","issue_events_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/issues/events{/number}","events_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/events","assignees_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/assignees{/user}","branches_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/branches{/branch}","tags_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/tags","blobs_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/git/refs{/sha}","trees_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/statuses/{sha}","languages_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/languages","stargazers_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/stargazers","contributors_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/contributors","subscribers_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/subscribers","subscription_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/subscription","commits_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/commits{/sha}","git_commits_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/git/commits{/sha}","comments_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/comments{/number}","issue_comment_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/issues/comments{/number}","contents_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/contents/{+path}","compare_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/merges","archive_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/downloads","issues_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/issues{/number}","pulls_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls{/number}","milestones_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/milestones{/number}","notifications_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/labels{/name}","releases_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/releases{/id}","deployments_url":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/deployments","created_at":"2016-01-18T13:41:25Z","updated_at":"2016-01-18T13:55:43Z","pushed_at":"2016-02-18T21:37:12Z","git_url":"git://github.com/fergiemcdowall/search-index-replicator.git","ssh_url":"git@github.com:fergiemcdowall/search-index-replicator.git","clone_url":"https://github.com/fergiemcdowall/search-index-replicator.git","svn_url":"https://github.com/fergiemcdowall/search-index-replicator","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls/2"},"html":{"href":"https://github.com/fergiemcdowall/search-index-replicator/pull/2"},"issue":{"href":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/issues/2"},"comments":{"href":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/fergiemcdowall/search-index-replicator/statuses/706055c59888a91d841019876f4e453444fd4d36"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"fergiemcdowall","id":1122333,"avatar_url":"https://avatars.githubusercontent.com/u/1122333?v=3","gravatar_id":"","url":"https://api.github.com/users/fergiemcdowall","html_url":"https://github.com/fergiemcdowall","followers_url":"https://api.github.com/users/fergiemcdowall/followers","following_url":"https://api.github.com/users/fergiemcdowall/following{/other_user}","gists_url":"https://api.github.com/users/fergiemcdowall/gists{/gist_id}","starred_url":"https://api.github.com/users/fergiemcdowall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fergiemcdowall/subscriptions","organizations_url":"https://api.github.com/users/fergiemcdowall/orgs","repos_url":"https://api.github.com/users/fergiemcdowall/repos","events_url":"https://api.github.com/users/fergiemcdowall/events{/privacy}","received_events_url":"https://api.github.com/users/fergiemcdowall/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":2,"deletions":4,"changed_files":1}}