{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls/3","id":45705214,"html_url":"https://github.com/easybiblabs/haproxyctl/pull/3","diff_url":"https://github.com/easybiblabs/haproxyctl/pull/3.diff","patch_url":"https://github.com/easybiblabs/haproxyctl/pull/3.patch","issue_url":"https://api.github.com/repos/easybiblabs/haproxyctl/issues/3","number":3,"state":"open","locked":false,"title":"Return 1 nbproc if an exception is raised, as well","user":{"login":"baccenfutter","id":198408,"avatar_url":"https://avatars.githubusercontent.com/u/198408?v=3","gravatar_id":"","url":"https://api.github.com/users/baccenfutter","html_url":"https://github.com/baccenfutter","followers_url":"https://api.github.com/users/baccenfutter/followers","following_url":"https://api.github.com/users/baccenfutter/following{/other_user}","gists_url":"https://api.github.com/users/baccenfutter/gists{/gist_id}","starred_url":"https://api.github.com/users/baccenfutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baccenfutter/subscriptions","organizations_url":"https://api.github.com/users/baccenfutter/orgs","repos_url":"https://api.github.com/users/baccenfutter/repos","events_url":"https://api.github.com/users/baccenfutter/events{/privacy}","received_events_url":"https://api.github.com/users/baccenfutter/received_events","type":"User","site_admin":false},"body":"Found the cause of the exception:\r\nhttps://github.com/easybiblabs/haproxyctl/blob/master/lib/haproxyctl/environment.rb#L42 doesn't catch the case, that Regexp explodes all together raising an exception. It should just fall-back to 1 in any case, always, even if an exception is raised.","created_at":"2015-09-22T19:21:23Z","updated_at":"2015-09-22T19:21:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"fh","id":40325,"avatar_url":"https://avatars.githubusercontent.com/u/40325?v=3","gravatar_id":"","url":"https://api.github.com/users/fh","html_url":"https://github.com/fh","followers_url":"https://api.github.com/users/fh/followers","following_url":"https://api.github.com/users/fh/following{/other_user}","gists_url":"https://api.github.com/users/fh/gists{/gist_id}","starred_url":"https://api.github.com/users/fh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fh/subscriptions","organizations_url":"https://api.github.com/users/fh/orgs","repos_url":"https://api.github.com/users/fh/repos","events_url":"https://api.github.com/users/fh/events{/privacy}","received_events_url":"https://api.github.com/users/fh/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls/3/commits","review_comments_url":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls/3/comments","review_comment_url":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/easybiblabs/haproxyctl/issues/3/comments","statuses_url":"https://api.github.com/repos/easybiblabs/haproxyctl/statuses/af62a89d0d735dc2dd78563dceb3a5b942c9f8a5","head":{"label":"baccenfutter:f/catch-no-nbproc-in-config","ref":"f/catch-no-nbproc-in-config","sha":"af62a89d0d735dc2dd78563dceb3a5b942c9f8a5","user":{"login":"baccenfutter","id":198408,"avatar_url":"https://avatars.githubusercontent.com/u/198408?v=3","gravatar_id":"","url":"https://api.github.com/users/baccenfutter","html_url":"https://github.com/baccenfutter","followers_url":"https://api.github.com/users/baccenfutter/followers","following_url":"https://api.github.com/users/baccenfutter/following{/other_user}","gists_url":"https://api.github.com/users/baccenfutter/gists{/gist_id}","starred_url":"https://api.github.com/users/baccenfutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baccenfutter/subscriptions","organizations_url":"https://api.github.com/users/baccenfutter/orgs","repos_url":"https://api.github.com/users/baccenfutter/repos","events_url":"https://api.github.com/users/baccenfutter/events{/privacy}","received_events_url":"https://api.github.com/users/baccenfutter/received_events","type":"User","site_admin":false},"repo":{"id":42934912,"name":"haproxyctl","full_name":"baccenfutter/haproxyctl","owner":{"login":"baccenfutter","id":198408,"avatar_url":"https://avatars.githubusercontent.com/u/198408?v=3","gravatar_id":"","url":"https://api.github.com/users/baccenfutter","html_url":"https://github.com/baccenfutter","followers_url":"https://api.github.com/users/baccenfutter/followers","following_url":"https://api.github.com/users/baccenfutter/following{/other_user}","gists_url":"https://api.github.com/users/baccenfutter/gists{/gist_id}","starred_url":"https://api.github.com/users/baccenfutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baccenfutter/subscriptions","organizations_url":"https://api.github.com/users/baccenfutter/orgs","repos_url":"https://api.github.com/users/baccenfutter/repos","events_url":"https://api.github.com/users/baccenfutter/events{/privacy}","received_events_url":"https://api.github.com/users/baccenfutter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/baccenfutter/haproxyctl","description":"Wrapper to talk to the HAProxy socket, as well as regular init (start|stop|status|etc) shit","fork":true,"url":"https://api.github.com/repos/baccenfutter/haproxyctl","forks_url":"https://api.github.com/repos/baccenfutter/haproxyctl/forks","keys_url":"https://api.github.com/repos/baccenfutter/haproxyctl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baccenfutter/haproxyctl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baccenfutter/haproxyctl/teams","hooks_url":"https://api.github.com/repos/baccenfutter/haproxyctl/hooks","issue_events_url":"https://api.github.com/repos/baccenfutter/haproxyctl/issues/events{/number}","events_url":"https://api.github.com/repos/baccenfutter/haproxyctl/events","assignees_url":"https://api.github.com/repos/baccenfutter/haproxyctl/assignees{/user}","branches_url":"https://api.github.com/repos/baccenfutter/haproxyctl/branches{/branch}","tags_url":"https://api.github.com/repos/baccenfutter/haproxyctl/tags","blobs_url":"https://api.github.com/repos/baccenfutter/haproxyctl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baccenfutter/haproxyctl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baccenfutter/haproxyctl/git/refs{/sha}","trees_url":"https://api.github.com/repos/baccenfutter/haproxyctl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baccenfutter/haproxyctl/statuses/{sha}","languages_url":"https://api.github.com/repos/baccenfutter/haproxyctl/languages","stargazers_url":"https://api.github.com/repos/baccenfutter/haproxyctl/stargazers","contributors_url":"https://api.github.com/repos/baccenfutter/haproxyctl/contributors","subscribers_url":"https://api.github.com/repos/baccenfutter/haproxyctl/subscribers","subscription_url":"https://api.github.com/repos/baccenfutter/haproxyctl/subscription","commits_url":"https://api.github.com/repos/baccenfutter/haproxyctl/commits{/sha}","git_commits_url":"https://api.github.com/repos/baccenfutter/haproxyctl/git/commits{/sha}","comments_url":"https://api.github.com/repos/baccenfutter/haproxyctl/comments{/number}","issue_comment_url":"https://api.github.com/repos/baccenfutter/haproxyctl/issues/comments{/number}","contents_url":"https://api.github.com/repos/baccenfutter/haproxyctl/contents/{+path}","compare_url":"https://api.github.com/repos/baccenfutter/haproxyctl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baccenfutter/haproxyctl/merges","archive_url":"https://api.github.com/repos/baccenfutter/haproxyctl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baccenfutter/haproxyctl/downloads","issues_url":"https://api.github.com/repos/baccenfutter/haproxyctl/issues{/number}","pulls_url":"https://api.github.com/repos/baccenfutter/haproxyctl/pulls{/number}","milestones_url":"https://api.github.com/repos/baccenfutter/haproxyctl/milestones{/number}","notifications_url":"https://api.github.com/repos/baccenfutter/haproxyctl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baccenfutter/haproxyctl/labels{/name}","releases_url":"https://api.github.com/repos/baccenfutter/haproxyctl/releases{/id}","created_at":"2015-09-22T13:19:19Z","updated_at":"2015-09-22T13:19:20Z","pushed_at":"2015-09-22T19:17:27Z","git_url":"git://github.com/baccenfutter/haproxyctl.git","ssh_url":"git@github.com:baccenfutter/haproxyctl.git","clone_url":"https://github.com/baccenfutter/haproxyctl.git","svn_url":"https://github.com/baccenfutter/haproxyctl","homepage":"http://scale10x.biggiantnerds.com","size":213,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"easybiblabs:master","ref":"master","sha":"58b3be06190ce61214ad7cb52a18977697c0966b","user":{"login":"easybiblabs","id":4500525,"avatar_url":"https://avatars.githubusercontent.com/u/4500525?v=3","gravatar_id":"","url":"https://api.github.com/users/easybiblabs","html_url":"https://github.com/easybiblabs","followers_url":"https://api.github.com/users/easybiblabs/followers","following_url":"https://api.github.com/users/easybiblabs/following{/other_user}","gists_url":"https://api.github.com/users/easybiblabs/gists{/gist_id}","starred_url":"https://api.github.com/users/easybiblabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easybiblabs/subscriptions","organizations_url":"https://api.github.com/users/easybiblabs/orgs","repos_url":"https://api.github.com/users/easybiblabs/repos","events_url":"https://api.github.com/users/easybiblabs/events{/privacy}","received_events_url":"https://api.github.com/users/easybiblabs/received_events","type":"Organization","site_admin":false},"repo":{"id":15195757,"name":"haproxyctl","full_name":"easybiblabs/haproxyctl","owner":{"login":"easybiblabs","id":4500525,"avatar_url":"https://avatars.githubusercontent.com/u/4500525?v=3","gravatar_id":"","url":"https://api.github.com/users/easybiblabs","html_url":"https://github.com/easybiblabs","followers_url":"https://api.github.com/users/easybiblabs/followers","following_url":"https://api.github.com/users/easybiblabs/following{/other_user}","gists_url":"https://api.github.com/users/easybiblabs/gists{/gist_id}","starred_url":"https://api.github.com/users/easybiblabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easybiblabs/subscriptions","organizations_url":"https://api.github.com/users/easybiblabs/orgs","repos_url":"https://api.github.com/users/easybiblabs/repos","events_url":"https://api.github.com/users/easybiblabs/events{/privacy}","received_events_url":"https://api.github.com/users/easybiblabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/easybiblabs/haproxyctl","description":"Wrapper to talk to the HAProxy socket, as well as regular init (start|stop|status|etc) shit","fork":true,"url":"https://api.github.com/repos/easybiblabs/haproxyctl","forks_url":"https://api.github.com/repos/easybiblabs/haproxyctl/forks","keys_url":"https://api.github.com/repos/easybiblabs/haproxyctl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/easybiblabs/haproxyctl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/easybiblabs/haproxyctl/teams","hooks_url":"https://api.github.com/repos/easybiblabs/haproxyctl/hooks","issue_events_url":"https://api.github.com/repos/easybiblabs/haproxyctl/issues/events{/number}","events_url":"https://api.github.com/repos/easybiblabs/haproxyctl/events","assignees_url":"https://api.github.com/repos/easybiblabs/haproxyctl/assignees{/user}","branches_url":"https://api.github.com/repos/easybiblabs/haproxyctl/branches{/branch}","tags_url":"https://api.github.com/repos/easybiblabs/haproxyctl/tags","blobs_url":"https://api.github.com/repos/easybiblabs/haproxyctl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/easybiblabs/haproxyctl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/easybiblabs/haproxyctl/git/refs{/sha}","trees_url":"https://api.github.com/repos/easybiblabs/haproxyctl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/easybiblabs/haproxyctl/statuses/{sha}","languages_url":"https://api.github.com/repos/easybiblabs/haproxyctl/languages","stargazers_url":"https://api.github.com/repos/easybiblabs/haproxyctl/stargazers","contributors_url":"https://api.github.com/repos/easybiblabs/haproxyctl/contributors","subscribers_url":"https://api.github.com/repos/easybiblabs/haproxyctl/subscribers","subscription_url":"https://api.github.com/repos/easybiblabs/haproxyctl/subscription","commits_url":"https://api.github.com/repos/easybiblabs/haproxyctl/commits{/sha}","git_commits_url":"https://api.github.com/repos/easybiblabs/haproxyctl/git/commits{/sha}","comments_url":"https://api.github.com/repos/easybiblabs/haproxyctl/comments{/number}","issue_comment_url":"https://api.github.com/repos/easybiblabs/haproxyctl/issues/comments{/number}","contents_url":"https://api.github.com/repos/easybiblabs/haproxyctl/contents/{+path}","compare_url":"https://api.github.com/repos/easybiblabs/haproxyctl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/easybiblabs/haproxyctl/merges","archive_url":"https://api.github.com/repos/easybiblabs/haproxyctl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/easybiblabs/haproxyctl/downloads","issues_url":"https://api.github.com/repos/easybiblabs/haproxyctl/issues{/number}","pulls_url":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls{/number}","milestones_url":"https://api.github.com/repos/easybiblabs/haproxyctl/milestones{/number}","notifications_url":"https://api.github.com/repos/easybiblabs/haproxyctl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/easybiblabs/haproxyctl/labels{/name}","releases_url":"https://api.github.com/repos/easybiblabs/haproxyctl/releases{/id}","created_at":"2013-12-15T01:13:08Z","updated_at":"2015-09-21T15:26:03Z","pushed_at":"2015-09-22T13:11:46Z","git_url":"git://github.com/easybiblabs/haproxyctl.git","ssh_url":"git@github.com:easybiblabs/haproxyctl.git","clone_url":"https://github.com/easybiblabs/haproxyctl.git","svn_url":"https://github.com/easybiblabs/haproxyctl","homepage":"http://scale10x.biggiantnerds.com","size":213,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls/3"},"html":{"href":"https://github.com/easybiblabs/haproxyctl/pull/3"},"issue":{"href":"https://api.github.com/repos/easybiblabs/haproxyctl/issues/3"},"comments":{"href":"https://api.github.com/repos/easybiblabs/haproxyctl/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/easybiblabs/haproxyctl/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/easybiblabs/haproxyctl/statuses/af62a89d0d735dc2dd78563dceb3a5b942c9f8a5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}