{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/dlion/node-catc/pulls/4","id":36126327,"html_url":"https://github.com/dlion/node-catc/pull/4","diff_url":"https://github.com/dlion/node-catc/pull/4.diff","patch_url":"https://github.com/dlion/node-catc/pull/4.patch","issue_url":"https://api.github.com/repos/dlion/node-catc/issues/4","number":4,"state":"closed","locked":false,"title":"Report API down instead of throwing error.","user":{"login":"ryanfields","id":281412,"avatar_url":"https://avatars.githubusercontent.com/u/281412?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanfields","html_url":"https://github.com/ryanfields","followers_url":"https://api.github.com/users/ryanfields/followers","following_url":"https://api.github.com/users/ryanfields/following{/other_user}","gists_url":"https://api.github.com/users/ryanfields/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanfields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanfields/subscriptions","organizations_url":"https://api.github.com/users/ryanfields/orgs","repos_url":"https://api.github.com/users/ryanfields/repos","events_url":"https://api.github.com/users/ryanfields/events{/privacy}","received_events_url":"https://api.github.com/users/ryanfields/received_events","type":"User","site_admin":false},"body":"Previously, when the CatC API server went down, the unchecked err value\r\nwould lead to an uncaught exception.\r\n\r\nThis resolves #3.","created_at":"2015-05-25T08:59:27Z","updated_at":"2015-05-25T09:07:00Z","closed_at":"2015-05-25T09:07:00Z","merged_at":"2015-05-25T09:07:00Z","merge_commit_sha":"5d8d5fd2fbc1c3ef34b5fd42cc261eea0ad062fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dlion/node-catc/pulls/4/commits","review_comments_url":"https://api.github.com/repos/dlion/node-catc/pulls/4/comments","review_comment_url":"https://api.github.com/repos/dlion/node-catc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dlion/node-catc/issues/4/comments","statuses_url":"https://api.github.com/repos/dlion/node-catc/statuses/a4c1ae9f23e340e6e1776feec9c13d6457b7cb91","head":{"label":"ryanfields:master","ref":"master","sha":"a4c1ae9f23e340e6e1776feec9c13d6457b7cb91","user":{"login":"ryanfields","id":281412,"avatar_url":"https://avatars.githubusercontent.com/u/281412?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanfields","html_url":"https://github.com/ryanfields","followers_url":"https://api.github.com/users/ryanfields/followers","following_url":"https://api.github.com/users/ryanfields/following{/other_user}","gists_url":"https://api.github.com/users/ryanfields/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanfields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanfields/subscriptions","organizations_url":"https://api.github.com/users/ryanfields/orgs","repos_url":"https://api.github.com/users/ryanfields/repos","events_url":"https://api.github.com/users/ryanfields/events{/privacy}","received_events_url":"https://api.github.com/users/ryanfields/received_events","type":"User","site_admin":false},"repo":{"id":36220420,"name":"node-catc","full_name":"ryanfields/node-catc","owner":{"login":"ryanfields","id":281412,"avatar_url":"https://avatars.githubusercontent.com/u/281412?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanfields","html_url":"https://github.com/ryanfields","followers_url":"https://api.github.com/users/ryanfields/followers","following_url":"https://api.github.com/users/ryanfields/following{/other_user}","gists_url":"https://api.github.com/users/ryanfields/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanfields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanfields/subscriptions","organizations_url":"https://api.github.com/users/ryanfields/orgs","repos_url":"https://api.github.com/users/ryanfields/repos","events_url":"https://api.github.com/users/ryanfields/events{/privacy}","received_events_url":"https://api.github.com/users/ryanfields/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanfields/node-catc","description":"Node Cloud At Cost API wrapper","fork":true,"url":"https://api.github.com/repos/ryanfields/node-catc","forks_url":"https://api.github.com/repos/ryanfields/node-catc/forks","keys_url":"https://api.github.com/repos/ryanfields/node-catc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanfields/node-catc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanfields/node-catc/teams","hooks_url":"https://api.github.com/repos/ryanfields/node-catc/hooks","issue_events_url":"https://api.github.com/repos/ryanfields/node-catc/issues/events{/number}","events_url":"https://api.github.com/repos/ryanfields/node-catc/events","assignees_url":"https://api.github.com/repos/ryanfields/node-catc/assignees{/user}","branches_url":"https://api.github.com/repos/ryanfields/node-catc/branches{/branch}","tags_url":"https://api.github.com/repos/ryanfields/node-catc/tags","blobs_url":"https://api.github.com/repos/ryanfields/node-catc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanfields/node-catc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanfields/node-catc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanfields/node-catc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanfields/node-catc/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanfields/node-catc/languages","stargazers_url":"https://api.github.com/repos/ryanfields/node-catc/stargazers","contributors_url":"https://api.github.com/repos/ryanfields/node-catc/contributors","subscribers_url":"https://api.github.com/repos/ryanfields/node-catc/subscribers","subscription_url":"https://api.github.com/repos/ryanfields/node-catc/subscription","commits_url":"https://api.github.com/repos/ryanfields/node-catc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanfields/node-catc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanfields/node-catc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanfields/node-catc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanfields/node-catc/contents/{+path}","compare_url":"https://api.github.com/repos/ryanfields/node-catc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanfields/node-catc/merges","archive_url":"https://api.github.com/repos/ryanfields/node-catc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanfields/node-catc/downloads","issues_url":"https://api.github.com/repos/ryanfields/node-catc/issues{/number}","pulls_url":"https://api.github.com/repos/ryanfields/node-catc/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanfields/node-catc/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanfields/node-catc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanfields/node-catc/labels{/name}","releases_url":"https://api.github.com/repos/ryanfields/node-catc/releases{/id}","created_at":"2015-05-25T08:51:57Z","updated_at":"2015-05-25T08:51:57Z","pushed_at":"2015-05-25T09:03:05Z","git_url":"git://github.com/ryanfields/node-catc.git","ssh_url":"git@github.com:ryanfields/node-catc.git","clone_url":"https://github.com/ryanfields/node-catc.git","svn_url":"https://github.com/ryanfields/node-catc","homepage":null,"size":86,"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":"dlion:master","ref":"master","sha":"7f1a3e073494670df0da0c4490be250cc8a4e09d","user":{"login":"dlion","id":2125236,"avatar_url":"https://avatars.githubusercontent.com/u/2125236?v=3","gravatar_id":"","url":"https://api.github.com/users/dlion","html_url":"https://github.com/dlion","followers_url":"https://api.github.com/users/dlion/followers","following_url":"https://api.github.com/users/dlion/following{/other_user}","gists_url":"https://api.github.com/users/dlion/gists{/gist_id}","starred_url":"https://api.github.com/users/dlion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlion/subscriptions","organizations_url":"https://api.github.com/users/dlion/orgs","repos_url":"https://api.github.com/users/dlion/repos","events_url":"https://api.github.com/users/dlion/events{/privacy}","received_events_url":"https://api.github.com/users/dlion/received_events","type":"User","site_admin":false},"repo":{"id":31761768,"name":"node-catc","full_name":"dlion/node-catc","owner":{"login":"dlion","id":2125236,"avatar_url":"https://avatars.githubusercontent.com/u/2125236?v=3","gravatar_id":"","url":"https://api.github.com/users/dlion","html_url":"https://github.com/dlion","followers_url":"https://api.github.com/users/dlion/followers","following_url":"https://api.github.com/users/dlion/following{/other_user}","gists_url":"https://api.github.com/users/dlion/gists{/gist_id}","starred_url":"https://api.github.com/users/dlion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlion/subscriptions","organizations_url":"https://api.github.com/users/dlion/orgs","repos_url":"https://api.github.com/users/dlion/repos","events_url":"https://api.github.com/users/dlion/events{/privacy}","received_events_url":"https://api.github.com/users/dlion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dlion/node-catc","description":"Node Cloud At Cost API wrapper","fork":false,"url":"https://api.github.com/repos/dlion/node-catc","forks_url":"https://api.github.com/repos/dlion/node-catc/forks","keys_url":"https://api.github.com/repos/dlion/node-catc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlion/node-catc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlion/node-catc/teams","hooks_url":"https://api.github.com/repos/dlion/node-catc/hooks","issue_events_url":"https://api.github.com/repos/dlion/node-catc/issues/events{/number}","events_url":"https://api.github.com/repos/dlion/node-catc/events","assignees_url":"https://api.github.com/repos/dlion/node-catc/assignees{/user}","branches_url":"https://api.github.com/repos/dlion/node-catc/branches{/branch}","tags_url":"https://api.github.com/repos/dlion/node-catc/tags","blobs_url":"https://api.github.com/repos/dlion/node-catc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlion/node-catc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlion/node-catc/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlion/node-catc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlion/node-catc/statuses/{sha}","languages_url":"https://api.github.com/repos/dlion/node-catc/languages","stargazers_url":"https://api.github.com/repos/dlion/node-catc/stargazers","contributors_url":"https://api.github.com/repos/dlion/node-catc/contributors","subscribers_url":"https://api.github.com/repos/dlion/node-catc/subscribers","subscription_url":"https://api.github.com/repos/dlion/node-catc/subscription","commits_url":"https://api.github.com/repos/dlion/node-catc/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlion/node-catc/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlion/node-catc/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlion/node-catc/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlion/node-catc/contents/{+path}","compare_url":"https://api.github.com/repos/dlion/node-catc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlion/node-catc/merges","archive_url":"https://api.github.com/repos/dlion/node-catc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlion/node-catc/downloads","issues_url":"https://api.github.com/repos/dlion/node-catc/issues{/number}","pulls_url":"https://api.github.com/repos/dlion/node-catc/pulls{/number}","milestones_url":"https://api.github.com/repos/dlion/node-catc/milestones{/number}","notifications_url":"https://api.github.com/repos/dlion/node-catc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlion/node-catc/labels{/name}","releases_url":"https://api.github.com/repos/dlion/node-catc/releases{/id}","created_at":"2015-03-06T09:20:24Z","updated_at":"2015-03-09T12:14:26Z","pushed_at":"2015-05-25T09:07:00Z","git_url":"git://github.com/dlion/node-catc.git","ssh_url":"git@github.com:dlion/node-catc.git","clone_url":"https://github.com/dlion/node-catc.git","svn_url":"https://github.com/dlion/node-catc","homepage":null,"size":185,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dlion/node-catc/pulls/4"},"html":{"href":"https://github.com/dlion/node-catc/pull/4"},"issue":{"href":"https://api.github.com/repos/dlion/node-catc/issues/4"},"comments":{"href":"https://api.github.com/repos/dlion/node-catc/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/dlion/node-catc/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/dlion/node-catc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dlion/node-catc/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/dlion/node-catc/statuses/a4c1ae9f23e340e6e1776feec9c13d6457b7cb91"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dlion","id":2125236,"avatar_url":"https://avatars.githubusercontent.com/u/2125236?v=3","gravatar_id":"","url":"https://api.github.com/users/dlion","html_url":"https://github.com/dlion","followers_url":"https://api.github.com/users/dlion/followers","following_url":"https://api.github.com/users/dlion/following{/other_user}","gists_url":"https://api.github.com/users/dlion/gists{/gist_id}","starred_url":"https://api.github.com/users/dlion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlion/subscriptions","organizations_url":"https://api.github.com/users/dlion/orgs","repos_url":"https://api.github.com/users/dlion/repos","events_url":"https://api.github.com/users/dlion/events{/privacy}","received_events_url":"https://api.github.com/users/dlion/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}