{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/spelufo/dagmise/pulls/1","id":37377897,"html_url":"https://github.com/spelufo/dagmise/pull/1","diff_url":"https://github.com/spelufo/dagmise/pull/1.diff","patch_url":"https://github.com/spelufo/dagmise/pull/1.patch","issue_url":"https://api.github.com/repos/spelufo/dagmise/issues/1","number":1,"state":"open","locked":false,"title":"Allow consumer code to handle promise rejection.","user":{"login":"SidBala","id":174933,"avatar_url":"https://avatars.githubusercontent.com/u/174933?v=3","gravatar_id":"","url":"https://api.github.com/users/SidBala","html_url":"https://github.com/SidBala","followers_url":"https://api.github.com/users/SidBala/followers","following_url":"https://api.github.com/users/SidBala/following{/other_user}","gists_url":"https://api.github.com/users/SidBala/gists{/gist_id}","starred_url":"https://api.github.com/users/SidBala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SidBala/subscriptions","organizations_url":"https://api.github.com/users/SidBala/orgs","repos_url":"https://api.github.com/users/SidBala/repos","events_url":"https://api.github.com/users/SidBala/events{/privacy}","received_events_url":"https://api.github.com/users/SidBala/received_events","type":"User","site_admin":false},"body":"Currently, all it does is to log the rejection to stderr. By removing this handler, consuming code can attach a handler to the promise returned by make.\r\n\r\n```\r\ndag.make('index.html')\r\n.catch(function(error) {\r\n    // handle rejection here\r\n});\r\n```","created_at":"2015-06-10T16:28:54Z","updated_at":"2015-06-10T16:28:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spelufo/dagmise/pulls/1/commits","review_comments_url":"https://api.github.com/repos/spelufo/dagmise/pulls/1/comments","review_comment_url":"https://api.github.com/repos/spelufo/dagmise/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spelufo/dagmise/issues/1/comments","statuses_url":"https://api.github.com/repos/spelufo/dagmise/statuses/b2e3cce7a6e9dac3515c2eaae029133f0ee9f130","head":{"label":"SidBala:patch-1","ref":"patch-1","sha":"b2e3cce7a6e9dac3515c2eaae029133f0ee9f130","user":{"login":"SidBala","id":174933,"avatar_url":"https://avatars.githubusercontent.com/u/174933?v=3","gravatar_id":"","url":"https://api.github.com/users/SidBala","html_url":"https://github.com/SidBala","followers_url":"https://api.github.com/users/SidBala/followers","following_url":"https://api.github.com/users/SidBala/following{/other_user}","gists_url":"https://api.github.com/users/SidBala/gists{/gist_id}","starred_url":"https://api.github.com/users/SidBala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SidBala/subscriptions","organizations_url":"https://api.github.com/users/SidBala/orgs","repos_url":"https://api.github.com/users/SidBala/repos","events_url":"https://api.github.com/users/SidBala/events{/privacy}","received_events_url":"https://api.github.com/users/SidBala/received_events","type":"User","site_admin":false},"repo":{"id":37175224,"name":"dagmise","full_name":"SidBala/dagmise","owner":{"login":"SidBala","id":174933,"avatar_url":"https://avatars.githubusercontent.com/u/174933?v=3","gravatar_id":"","url":"https://api.github.com/users/SidBala","html_url":"https://github.com/SidBala","followers_url":"https://api.github.com/users/SidBala/followers","following_url":"https://api.github.com/users/SidBala/following{/other_user}","gists_url":"https://api.github.com/users/SidBala/gists{/gist_id}","starred_url":"https://api.github.com/users/SidBala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SidBala/subscriptions","organizations_url":"https://api.github.com/users/SidBala/orgs","repos_url":"https://api.github.com/users/SidBala/repos","events_url":"https://api.github.com/users/SidBala/events{/privacy}","received_events_url":"https://api.github.com/users/SidBala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SidBala/dagmise","description":"A directed acyclic graph of promises.","fork":true,"url":"https://api.github.com/repos/SidBala/dagmise","forks_url":"https://api.github.com/repos/SidBala/dagmise/forks","keys_url":"https://api.github.com/repos/SidBala/dagmise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SidBala/dagmise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SidBala/dagmise/teams","hooks_url":"https://api.github.com/repos/SidBala/dagmise/hooks","issue_events_url":"https://api.github.com/repos/SidBala/dagmise/issues/events{/number}","events_url":"https://api.github.com/repos/SidBala/dagmise/events","assignees_url":"https://api.github.com/repos/SidBala/dagmise/assignees{/user}","branches_url":"https://api.github.com/repos/SidBala/dagmise/branches{/branch}","tags_url":"https://api.github.com/repos/SidBala/dagmise/tags","blobs_url":"https://api.github.com/repos/SidBala/dagmise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SidBala/dagmise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SidBala/dagmise/git/refs{/sha}","trees_url":"https://api.github.com/repos/SidBala/dagmise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SidBala/dagmise/statuses/{sha}","languages_url":"https://api.github.com/repos/SidBala/dagmise/languages","stargazers_url":"https://api.github.com/repos/SidBala/dagmise/stargazers","contributors_url":"https://api.github.com/repos/SidBala/dagmise/contributors","subscribers_url":"https://api.github.com/repos/SidBala/dagmise/subscribers","subscription_url":"https://api.github.com/repos/SidBala/dagmise/subscription","commits_url":"https://api.github.com/repos/SidBala/dagmise/commits{/sha}","git_commits_url":"https://api.github.com/repos/SidBala/dagmise/git/commits{/sha}","comments_url":"https://api.github.com/repos/SidBala/dagmise/comments{/number}","issue_comment_url":"https://api.github.com/repos/SidBala/dagmise/issues/comments{/number}","contents_url":"https://api.github.com/repos/SidBala/dagmise/contents/{+path}","compare_url":"https://api.github.com/repos/SidBala/dagmise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SidBala/dagmise/merges","archive_url":"https://api.github.com/repos/SidBala/dagmise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SidBala/dagmise/downloads","issues_url":"https://api.github.com/repos/SidBala/dagmise/issues{/number}","pulls_url":"https://api.github.com/repos/SidBala/dagmise/pulls{/number}","milestones_url":"https://api.github.com/repos/SidBala/dagmise/milestones{/number}","notifications_url":"https://api.github.com/repos/SidBala/dagmise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SidBala/dagmise/labels{/name}","releases_url":"https://api.github.com/repos/SidBala/dagmise/releases{/id}","created_at":"2015-06-10T04:23:51Z","updated_at":"2015-06-10T04:23:51Z","pushed_at":"2015-06-10T16:25:53Z","git_url":"git://github.com/SidBala/dagmise.git","ssh_url":"git@github.com:SidBala/dagmise.git","clone_url":"https://github.com/SidBala/dagmise.git","svn_url":"https://github.com/SidBala/dagmise","homepage":null,"size":124,"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":"spelufo:master","ref":"master","sha":"13a1c7147af135c8fbecb5356af53b3f2eac6563","user":{"login":"spelufo","id":1312203,"avatar_url":"https://avatars.githubusercontent.com/u/1312203?v=3","gravatar_id":"","url":"https://api.github.com/users/spelufo","html_url":"https://github.com/spelufo","followers_url":"https://api.github.com/users/spelufo/followers","following_url":"https://api.github.com/users/spelufo/following{/other_user}","gists_url":"https://api.github.com/users/spelufo/gists{/gist_id}","starred_url":"https://api.github.com/users/spelufo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spelufo/subscriptions","organizations_url":"https://api.github.com/users/spelufo/orgs","repos_url":"https://api.github.com/users/spelufo/repos","events_url":"https://api.github.com/users/spelufo/events{/privacy}","received_events_url":"https://api.github.com/users/spelufo/received_events","type":"User","site_admin":false},"repo":{"id":36194567,"name":"dagmise","full_name":"spelufo/dagmise","owner":{"login":"spelufo","id":1312203,"avatar_url":"https://avatars.githubusercontent.com/u/1312203?v=3","gravatar_id":"","url":"https://api.github.com/users/spelufo","html_url":"https://github.com/spelufo","followers_url":"https://api.github.com/users/spelufo/followers","following_url":"https://api.github.com/users/spelufo/following{/other_user}","gists_url":"https://api.github.com/users/spelufo/gists{/gist_id}","starred_url":"https://api.github.com/users/spelufo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spelufo/subscriptions","organizations_url":"https://api.github.com/users/spelufo/orgs","repos_url":"https://api.github.com/users/spelufo/repos","events_url":"https://api.github.com/users/spelufo/events{/privacy}","received_events_url":"https://api.github.com/users/spelufo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spelufo/dagmise","description":"A directed acyclic graph of promises.","fork":false,"url":"https://api.github.com/repos/spelufo/dagmise","forks_url":"https://api.github.com/repos/spelufo/dagmise/forks","keys_url":"https://api.github.com/repos/spelufo/dagmise/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spelufo/dagmise/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spelufo/dagmise/teams","hooks_url":"https://api.github.com/repos/spelufo/dagmise/hooks","issue_events_url":"https://api.github.com/repos/spelufo/dagmise/issues/events{/number}","events_url":"https://api.github.com/repos/spelufo/dagmise/events","assignees_url":"https://api.github.com/repos/spelufo/dagmise/assignees{/user}","branches_url":"https://api.github.com/repos/spelufo/dagmise/branches{/branch}","tags_url":"https://api.github.com/repos/spelufo/dagmise/tags","blobs_url":"https://api.github.com/repos/spelufo/dagmise/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spelufo/dagmise/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spelufo/dagmise/git/refs{/sha}","trees_url":"https://api.github.com/repos/spelufo/dagmise/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spelufo/dagmise/statuses/{sha}","languages_url":"https://api.github.com/repos/spelufo/dagmise/languages","stargazers_url":"https://api.github.com/repos/spelufo/dagmise/stargazers","contributors_url":"https://api.github.com/repos/spelufo/dagmise/contributors","subscribers_url":"https://api.github.com/repos/spelufo/dagmise/subscribers","subscription_url":"https://api.github.com/repos/spelufo/dagmise/subscription","commits_url":"https://api.github.com/repos/spelufo/dagmise/commits{/sha}","git_commits_url":"https://api.github.com/repos/spelufo/dagmise/git/commits{/sha}","comments_url":"https://api.github.com/repos/spelufo/dagmise/comments{/number}","issue_comment_url":"https://api.github.com/repos/spelufo/dagmise/issues/comments{/number}","contents_url":"https://api.github.com/repos/spelufo/dagmise/contents/{+path}","compare_url":"https://api.github.com/repos/spelufo/dagmise/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spelufo/dagmise/merges","archive_url":"https://api.github.com/repos/spelufo/dagmise/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spelufo/dagmise/downloads","issues_url":"https://api.github.com/repos/spelufo/dagmise/issues{/number}","pulls_url":"https://api.github.com/repos/spelufo/dagmise/pulls{/number}","milestones_url":"https://api.github.com/repos/spelufo/dagmise/milestones{/number}","notifications_url":"https://api.github.com/repos/spelufo/dagmise/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spelufo/dagmise/labels{/name}","releases_url":"https://api.github.com/repos/spelufo/dagmise/releases{/id}","created_at":"2015-05-24T21:25:46Z","updated_at":"2015-05-24T21:26:25Z","pushed_at":"2015-06-10T16:28:55Z","git_url":"git://github.com/spelufo/dagmise.git","ssh_url":"git@github.com:spelufo/dagmise.git","clone_url":"https://github.com/spelufo/dagmise.git","svn_url":"https://github.com/spelufo/dagmise","homepage":null,"size":124,"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/spelufo/dagmise/pulls/1"},"html":{"href":"https://github.com/spelufo/dagmise/pull/1"},"issue":{"href":"https://api.github.com/repos/spelufo/dagmise/issues/1"},"comments":{"href":"https://api.github.com/repos/spelufo/dagmise/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/spelufo/dagmise/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/spelufo/dagmise/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spelufo/dagmise/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/spelufo/dagmise/statuses/b2e3cce7a6e9dac3515c2eaae029133f0ee9f130"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}