{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls/1","id":43439190,"html_url":"https://github.com/feedhenry-staff/ngFeedHenry/pull/1","diff_url":"https://github.com/feedhenry-staff/ngFeedHenry/pull/1.diff","patch_url":"https://github.com/feedhenry-staff/ngFeedHenry/pull/1.patch","issue_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/issues/1","number":1,"state":"open","locked":false,"title":"Create an afterError method to specifically target failed $fh.cloud calls","user":{"login":"jblashka","id":6685705,"avatar_url":"https://avatars.githubusercontent.com/u/6685705?v=3","gravatar_id":"","url":"https://api.github.com/users/jblashka","html_url":"https://github.com/jblashka","followers_url":"https://api.github.com/users/jblashka/followers","following_url":"https://api.github.com/users/jblashka/following{/other_user}","gists_url":"https://api.github.com/users/jblashka/gists{/gist_id}","starred_url":"https://api.github.com/users/jblashka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jblashka/subscriptions","organizations_url":"https://api.github.com/users/jblashka/orgs","repos_url":"https://api.github.com/users/jblashka/repos","events_url":"https://api.github.com/users/jblashka/events{/privacy}","received_events_url":"https://api.github.com/users/jblashka/received_events","type":"User","site_admin":false},"body":"The _after_ methods get executed on both a successful and failed $fh.cloud call (even though the documentation says \"run fn on the response received by $fh.cloud if the request was successful\"); I've got no way to tell whether or not I'm looking at a successful call unless I inspect the response.\r\n\r\nThis creates a specific processor set to handle failed $fh.cloud calls. Additionally, this exposes some information like the failure status code as well as the options from the original request and allows users the option of still \"passing\" the failed $fh.cloud call.\r\n\r\nThis is a potentially breaking change for people relying on _after_ to run after both successful and failed _$fh.cloud_ calls.","created_at":"2015-08-26T19:05:33Z","updated_at":"2015-08-26T19:05:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls/1/commits","review_comments_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls/1/comments","review_comment_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/issues/1/comments","statuses_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/statuses/47f9cffa08381defd7e616ee6e616a2e5f824af4","head":{"label":"jblashka:master","ref":"master","sha":"47f9cffa08381defd7e616ee6e616a2e5f824af4","user":{"login":"jblashka","id":6685705,"avatar_url":"https://avatars.githubusercontent.com/u/6685705?v=3","gravatar_id":"","url":"https://api.github.com/users/jblashka","html_url":"https://github.com/jblashka","followers_url":"https://api.github.com/users/jblashka/followers","following_url":"https://api.github.com/users/jblashka/following{/other_user}","gists_url":"https://api.github.com/users/jblashka/gists{/gist_id}","starred_url":"https://api.github.com/users/jblashka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jblashka/subscriptions","organizations_url":"https://api.github.com/users/jblashka/orgs","repos_url":"https://api.github.com/users/jblashka/repos","events_url":"https://api.github.com/users/jblashka/events{/privacy}","received_events_url":"https://api.github.com/users/jblashka/received_events","type":"User","site_admin":false},"repo":{"id":41440286,"name":"ngFeedHenry","full_name":"jblashka/ngFeedHenry","owner":{"login":"jblashka","id":6685705,"avatar_url":"https://avatars.githubusercontent.com/u/6685705?v=3","gravatar_id":"","url":"https://api.github.com/users/jblashka","html_url":"https://github.com/jblashka","followers_url":"https://api.github.com/users/jblashka/followers","following_url":"https://api.github.com/users/jblashka/following{/other_user}","gists_url":"https://api.github.com/users/jblashka/gists{/gist_id}","starred_url":"https://api.github.com/users/jblashka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jblashka/subscriptions","organizations_url":"https://api.github.com/users/jblashka/orgs","repos_url":"https://api.github.com/users/jblashka/repos","events_url":"https://api.github.com/users/jblashka/events{/privacy}","received_events_url":"https://api.github.com/users/jblashka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jblashka/ngFeedHenry","description":"An AngularJS friendly version of the FeedHenry SDK with some sugar on top for good measure.","fork":true,"url":"https://api.github.com/repos/jblashka/ngFeedHenry","forks_url":"https://api.github.com/repos/jblashka/ngFeedHenry/forks","keys_url":"https://api.github.com/repos/jblashka/ngFeedHenry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jblashka/ngFeedHenry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jblashka/ngFeedHenry/teams","hooks_url":"https://api.github.com/repos/jblashka/ngFeedHenry/hooks","issue_events_url":"https://api.github.com/repos/jblashka/ngFeedHenry/issues/events{/number}","events_url":"https://api.github.com/repos/jblashka/ngFeedHenry/events","assignees_url":"https://api.github.com/repos/jblashka/ngFeedHenry/assignees{/user}","branches_url":"https://api.github.com/repos/jblashka/ngFeedHenry/branches{/branch}","tags_url":"https://api.github.com/repos/jblashka/ngFeedHenry/tags","blobs_url":"https://api.github.com/repos/jblashka/ngFeedHenry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jblashka/ngFeedHenry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jblashka/ngFeedHenry/git/refs{/sha}","trees_url":"https://api.github.com/repos/jblashka/ngFeedHenry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jblashka/ngFeedHenry/statuses/{sha}","languages_url":"https://api.github.com/repos/jblashka/ngFeedHenry/languages","stargazers_url":"https://api.github.com/repos/jblashka/ngFeedHenry/stargazers","contributors_url":"https://api.github.com/repos/jblashka/ngFeedHenry/contributors","subscribers_url":"https://api.github.com/repos/jblashka/ngFeedHenry/subscribers","subscription_url":"https://api.github.com/repos/jblashka/ngFeedHenry/subscription","commits_url":"https://api.github.com/repos/jblashka/ngFeedHenry/commits{/sha}","git_commits_url":"https://api.github.com/repos/jblashka/ngFeedHenry/git/commits{/sha}","comments_url":"https://api.github.com/repos/jblashka/ngFeedHenry/comments{/number}","issue_comment_url":"https://api.github.com/repos/jblashka/ngFeedHenry/issues/comments{/number}","contents_url":"https://api.github.com/repos/jblashka/ngFeedHenry/contents/{+path}","compare_url":"https://api.github.com/repos/jblashka/ngFeedHenry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jblashka/ngFeedHenry/merges","archive_url":"https://api.github.com/repos/jblashka/ngFeedHenry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jblashka/ngFeedHenry/downloads","issues_url":"https://api.github.com/repos/jblashka/ngFeedHenry/issues{/number}","pulls_url":"https://api.github.com/repos/jblashka/ngFeedHenry/pulls{/number}","milestones_url":"https://api.github.com/repos/jblashka/ngFeedHenry/milestones{/number}","notifications_url":"https://api.github.com/repos/jblashka/ngFeedHenry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jblashka/ngFeedHenry/labels{/name}","releases_url":"https://api.github.com/repos/jblashka/ngFeedHenry/releases{/id}","created_at":"2015-08-26T17:41:03Z","updated_at":"2015-08-26T17:41:03Z","pushed_at":"2015-08-26T19:00:40Z","git_url":"git://github.com/jblashka/ngFeedHenry.git","ssh_url":"git@github.com:jblashka/ngFeedHenry.git","clone_url":"https://github.com/jblashka/ngFeedHenry.git","svn_url":"https://github.com/jblashka/ngFeedHenry","homepage":"","size":273,"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":"feedhenry-staff:master","ref":"master","sha":"abfc130c9968dcdd03a6d14995fa3a85bbf800a6","user":{"login":"feedhenry-staff","id":7872466,"avatar_url":"https://avatars.githubusercontent.com/u/7872466?v=3","gravatar_id":"","url":"https://api.github.com/users/feedhenry-staff","html_url":"https://github.com/feedhenry-staff","followers_url":"https://api.github.com/users/feedhenry-staff/followers","following_url":"https://api.github.com/users/feedhenry-staff/following{/other_user}","gists_url":"https://api.github.com/users/feedhenry-staff/gists{/gist_id}","starred_url":"https://api.github.com/users/feedhenry-staff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedhenry-staff/subscriptions","organizations_url":"https://api.github.com/users/feedhenry-staff/orgs","repos_url":"https://api.github.com/users/feedhenry-staff/repos","events_url":"https://api.github.com/users/feedhenry-staff/events{/privacy}","received_events_url":"https://api.github.com/users/feedhenry-staff/received_events","type":"Organization","site_admin":false},"repo":{"id":20833329,"name":"ngFeedHenry","full_name":"feedhenry-staff/ngFeedHenry","owner":{"login":"feedhenry-staff","id":7872466,"avatar_url":"https://avatars.githubusercontent.com/u/7872466?v=3","gravatar_id":"","url":"https://api.github.com/users/feedhenry-staff","html_url":"https://github.com/feedhenry-staff","followers_url":"https://api.github.com/users/feedhenry-staff/followers","following_url":"https://api.github.com/users/feedhenry-staff/following{/other_user}","gists_url":"https://api.github.com/users/feedhenry-staff/gists{/gist_id}","starred_url":"https://api.github.com/users/feedhenry-staff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feedhenry-staff/subscriptions","organizations_url":"https://api.github.com/users/feedhenry-staff/orgs","repos_url":"https://api.github.com/users/feedhenry-staff/repos","events_url":"https://api.github.com/users/feedhenry-staff/events{/privacy}","received_events_url":"https://api.github.com/users/feedhenry-staff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/feedhenry-staff/ngFeedHenry","description":"An AngularJS friendly version of the FeedHenry SDK with some sugar on top for good measure.","fork":false,"url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry","forks_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/forks","keys_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/teams","hooks_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/hooks","issue_events_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/issues/events{/number}","events_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/events","assignees_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/assignees{/user}","branches_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/branches{/branch}","tags_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/tags","blobs_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/git/refs{/sha}","trees_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/statuses/{sha}","languages_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/languages","stargazers_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/stargazers","contributors_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/contributors","subscribers_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/subscribers","subscription_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/subscription","commits_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/commits{/sha}","git_commits_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/git/commits{/sha}","comments_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/comments{/number}","issue_comment_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/issues/comments{/number}","contents_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/contents/{+path}","compare_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/merges","archive_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/downloads","issues_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/issues{/number}","pulls_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls{/number}","milestones_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/milestones{/number}","notifications_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/labels{/name}","releases_url":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/releases{/id}","created_at":"2014-06-14T14:02:57Z","updated_at":"2015-02-27T20:58:14Z","pushed_at":"2015-06-05T17:34:09Z","git_url":"git://github.com/feedhenry-staff/ngFeedHenry.git","ssh_url":"git@github.com:feedhenry-staff/ngFeedHenry.git","clone_url":"https://github.com/feedhenry-staff/ngFeedHenry.git","svn_url":"https://github.com/feedhenry-staff/ngFeedHenry","homepage":"","size":515,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls/1"},"html":{"href":"https://github.com/feedhenry-staff/ngFeedHenry/pull/1"},"issue":{"href":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/issues/1"},"comments":{"href":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/feedhenry-staff/ngFeedHenry/statuses/47f9cffa08381defd7e616ee6e616a2e5f824af4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":122,"deletions":30,"changed_files":6}}