{"action":"closed","number":75,"pull_request":{"url":"https://api.github.com/repos/ejci/favico.js/pulls/75","id":36170529,"html_url":"https://github.com/ejci/favico.js/pull/75","diff_url":"https://github.com/ejci/favico.js/pull/75.diff","patch_url":"https://github.com/ejci/favico.js/pull/75.patch","issue_url":"https://api.github.com/repos/ejci/favico.js/issues/75","number":75,"state":"closed","locked":false,"title":"#67 Use Error constructor to keep message and stack","user":{"login":"chrisyip","id":189559,"avatar_url":"https://avatars.githubusercontent.com/u/189559?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisyip","html_url":"https://github.com/chrisyip","followers_url":"https://api.github.com/users/chrisyip/followers","following_url":"https://api.github.com/users/chrisyip/following{/other_user}","gists_url":"https://api.github.com/users/chrisyip/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisyip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisyip/subscriptions","organizations_url":"https://api.github.com/users/chrisyip/orgs","repos_url":"https://api.github.com/users/chrisyip/repos","events_url":"https://api.github.com/users/chrisyip/events{/privacy}","received_events_url":"https://api.github.com/users/chrisyip/received_events","type":"User","site_admin":false},"body":"This PR aims to provider more useful information for debugging.\r\n\r\n`new Error()` will make `message` and `stack` available in other code scopes.\r\n\r\n![untitled js 2015-05-26 13-26-44](https://cloud.githubusercontent.com/assets/189559/7805768/e87b03ea-03aa-11e5-85b6-3160e8b58bbd.png)\r\n\r\n\r\n","created_at":"2015-05-26T05:27:34Z","updated_at":"2015-05-26T07:42:50Z","closed_at":"2015-05-26T07:42:50Z","merged_at":"2015-05-26T07:42:49Z","merge_commit_sha":"8cd68de6cfbe408738129ded1d7528f9aa240918","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ejci/favico.js/pulls/75/commits","review_comments_url":"https://api.github.com/repos/ejci/favico.js/pulls/75/comments","review_comment_url":"https://api.github.com/repos/ejci/favico.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ejci/favico.js/issues/75/comments","statuses_url":"https://api.github.com/repos/ejci/favico.js/statuses/9b2e585b4be8f26ec3fac0af7554b3a4bf2334da","head":{"label":"chrisyip:correct-error-type","ref":"correct-error-type","sha":"9b2e585b4be8f26ec3fac0af7554b3a4bf2334da","user":{"login":"chrisyip","id":189559,"avatar_url":"https://avatars.githubusercontent.com/u/189559?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisyip","html_url":"https://github.com/chrisyip","followers_url":"https://api.github.com/users/chrisyip/followers","following_url":"https://api.github.com/users/chrisyip/following{/other_user}","gists_url":"https://api.github.com/users/chrisyip/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisyip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisyip/subscriptions","organizations_url":"https://api.github.com/users/chrisyip/orgs","repos_url":"https://api.github.com/users/chrisyip/repos","events_url":"https://api.github.com/users/chrisyip/events{/privacy}","received_events_url":"https://api.github.com/users/chrisyip/received_events","type":"User","site_admin":false},"repo":{"id":36273561,"name":"favico.js","full_name":"chrisyip/favico.js","owner":{"login":"chrisyip","id":189559,"avatar_url":"https://avatars.githubusercontent.com/u/189559?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisyip","html_url":"https://github.com/chrisyip","followers_url":"https://api.github.com/users/chrisyip/followers","following_url":"https://api.github.com/users/chrisyip/following{/other_user}","gists_url":"https://api.github.com/users/chrisyip/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisyip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisyip/subscriptions","organizations_url":"https://api.github.com/users/chrisyip/orgs","repos_url":"https://api.github.com/users/chrisyip/repos","events_url":"https://api.github.com/users/chrisyip/events{/privacy}","received_events_url":"https://api.github.com/users/chrisyip/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrisyip/favico.js","description":"Make use of your favicon with badges, images or videos","fork":true,"url":"https://api.github.com/repos/chrisyip/favico.js","forks_url":"https://api.github.com/repos/chrisyip/favico.js/forks","keys_url":"https://api.github.com/repos/chrisyip/favico.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrisyip/favico.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrisyip/favico.js/teams","hooks_url":"https://api.github.com/repos/chrisyip/favico.js/hooks","issue_events_url":"https://api.github.com/repos/chrisyip/favico.js/issues/events{/number}","events_url":"https://api.github.com/repos/chrisyip/favico.js/events","assignees_url":"https://api.github.com/repos/chrisyip/favico.js/assignees{/user}","branches_url":"https://api.github.com/repos/chrisyip/favico.js/branches{/branch}","tags_url":"https://api.github.com/repos/chrisyip/favico.js/tags","blobs_url":"https://api.github.com/repos/chrisyip/favico.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrisyip/favico.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrisyip/favico.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrisyip/favico.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrisyip/favico.js/statuses/{sha}","languages_url":"https://api.github.com/repos/chrisyip/favico.js/languages","stargazers_url":"https://api.github.com/repos/chrisyip/favico.js/stargazers","contributors_url":"https://api.github.com/repos/chrisyip/favico.js/contributors","subscribers_url":"https://api.github.com/repos/chrisyip/favico.js/subscribers","subscription_url":"https://api.github.com/repos/chrisyip/favico.js/subscription","commits_url":"https://api.github.com/repos/chrisyip/favico.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrisyip/favico.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrisyip/favico.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrisyip/favico.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrisyip/favico.js/contents/{+path}","compare_url":"https://api.github.com/repos/chrisyip/favico.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrisyip/favico.js/merges","archive_url":"https://api.github.com/repos/chrisyip/favico.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrisyip/favico.js/downloads","issues_url":"https://api.github.com/repos/chrisyip/favico.js/issues{/number}","pulls_url":"https://api.github.com/repos/chrisyip/favico.js/pulls{/number}","milestones_url":"https://api.github.com/repos/chrisyip/favico.js/milestones{/number}","notifications_url":"https://api.github.com/repos/chrisyip/favico.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrisyip/favico.js/labels{/name}","releases_url":"https://api.github.com/repos/chrisyip/favico.js/releases{/id}","created_at":"2015-05-26T05:11:35Z","updated_at":"2015-05-26T05:11:36Z","pushed_at":"2015-05-26T05:18:40Z","git_url":"git://github.com/chrisyip/favico.js.git","ssh_url":"git@github.com:chrisyip/favico.js.git","clone_url":"https://github.com/chrisyip/favico.js.git","svn_url":"https://github.com/chrisyip/favico.js","homepage":"http://lab.ejci.net/favico.js/","size":5291,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"ejci:master","ref":"master","sha":"ce2c5a50a3b45c40bd79824488d9b83af85b7d0a","user":{"login":"ejci","id":1025656,"avatar_url":"https://avatars.githubusercontent.com/u/1025656?v=3","gravatar_id":"","url":"https://api.github.com/users/ejci","html_url":"https://github.com/ejci","followers_url":"https://api.github.com/users/ejci/followers","following_url":"https://api.github.com/users/ejci/following{/other_user}","gists_url":"https://api.github.com/users/ejci/gists{/gist_id}","starred_url":"https://api.github.com/users/ejci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejci/subscriptions","organizations_url":"https://api.github.com/users/ejci/orgs","repos_url":"https://api.github.com/users/ejci/repos","events_url":"https://api.github.com/users/ejci/events{/privacy}","received_events_url":"https://api.github.com/users/ejci/received_events","type":"User","site_admin":false},"repo":{"id":12708085,"name":"favico.js","full_name":"ejci/favico.js","owner":{"login":"ejci","id":1025656,"avatar_url":"https://avatars.githubusercontent.com/u/1025656?v=3","gravatar_id":"","url":"https://api.github.com/users/ejci","html_url":"https://github.com/ejci","followers_url":"https://api.github.com/users/ejci/followers","following_url":"https://api.github.com/users/ejci/following{/other_user}","gists_url":"https://api.github.com/users/ejci/gists{/gist_id}","starred_url":"https://api.github.com/users/ejci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejci/subscriptions","organizations_url":"https://api.github.com/users/ejci/orgs","repos_url":"https://api.github.com/users/ejci/repos","events_url":"https://api.github.com/users/ejci/events{/privacy}","received_events_url":"https://api.github.com/users/ejci/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ejci/favico.js","description":"Make use of your favicon with badges, images or videos","fork":false,"url":"https://api.github.com/repos/ejci/favico.js","forks_url":"https://api.github.com/repos/ejci/favico.js/forks","keys_url":"https://api.github.com/repos/ejci/favico.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ejci/favico.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ejci/favico.js/teams","hooks_url":"https://api.github.com/repos/ejci/favico.js/hooks","issue_events_url":"https://api.github.com/repos/ejci/favico.js/issues/events{/number}","events_url":"https://api.github.com/repos/ejci/favico.js/events","assignees_url":"https://api.github.com/repos/ejci/favico.js/assignees{/user}","branches_url":"https://api.github.com/repos/ejci/favico.js/branches{/branch}","tags_url":"https://api.github.com/repos/ejci/favico.js/tags","blobs_url":"https://api.github.com/repos/ejci/favico.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ejci/favico.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ejci/favico.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ejci/favico.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ejci/favico.js/statuses/{sha}","languages_url":"https://api.github.com/repos/ejci/favico.js/languages","stargazers_url":"https://api.github.com/repos/ejci/favico.js/stargazers","contributors_url":"https://api.github.com/repos/ejci/favico.js/contributors","subscribers_url":"https://api.github.com/repos/ejci/favico.js/subscribers","subscription_url":"https://api.github.com/repos/ejci/favico.js/subscription","commits_url":"https://api.github.com/repos/ejci/favico.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ejci/favico.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ejci/favico.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ejci/favico.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ejci/favico.js/contents/{+path}","compare_url":"https://api.github.com/repos/ejci/favico.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ejci/favico.js/merges","archive_url":"https://api.github.com/repos/ejci/favico.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ejci/favico.js/downloads","issues_url":"https://api.github.com/repos/ejci/favico.js/issues{/number}","pulls_url":"https://api.github.com/repos/ejci/favico.js/pulls{/number}","milestones_url":"https://api.github.com/repos/ejci/favico.js/milestones{/number}","notifications_url":"https://api.github.com/repos/ejci/favico.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ejci/favico.js/labels{/name}","releases_url":"https://api.github.com/repos/ejci/favico.js/releases{/id}","created_at":"2013-09-09T17:43:18Z","updated_at":"2015-05-26T07:42:21Z","pushed_at":"2015-05-26T07:42:49Z","git_url":"git://github.com/ejci/favico.js.git","ssh_url":"git@github.com:ejci/favico.js.git","clone_url":"https://github.com/ejci/favico.js.git","svn_url":"https://github.com/ejci/favico.js","homepage":"http://lab.ejci.net/favico.js/","size":5834,"stargazers_count":4724,"watchers_count":4724,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":340,"mirror_url":null,"open_issues_count":15,"forks":340,"open_issues":15,"watchers":4724,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ejci/favico.js/pulls/75"},"html":{"href":"https://github.com/ejci/favico.js/pull/75"},"issue":{"href":"https://api.github.com/repos/ejci/favico.js/issues/75"},"comments":{"href":"https://api.github.com/repos/ejci/favico.js/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/ejci/favico.js/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/ejci/favico.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ejci/favico.js/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/ejci/favico.js/statuses/9b2e585b4be8f26ec3fac0af7554b3a4bf2334da"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ejci","id":1025656,"avatar_url":"https://avatars.githubusercontent.com/u/1025656?v=3","gravatar_id":"","url":"https://api.github.com/users/ejci","html_url":"https://github.com/ejci","followers_url":"https://api.github.com/users/ejci/followers","following_url":"https://api.github.com/users/ejci/following{/other_user}","gists_url":"https://api.github.com/users/ejci/gists{/gist_id}","starred_url":"https://api.github.com/users/ejci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejci/subscriptions","organizations_url":"https://api.github.com/users/ejci/orgs","repos_url":"https://api.github.com/users/ejci/repos","events_url":"https://api.github.com/users/ejci/events{/privacy}","received_events_url":"https://api.github.com/users/ejci/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":5,"deletions":6,"changed_files":1}}