{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls/2","id":47573212,"html_url":"https://github.com/chef/cookbook-omnifetch/pull/2","diff_url":"https://github.com/chef/cookbook-omnifetch/pull/2.diff","patch_url":"https://github.com/chef/cookbook-omnifetch/pull/2.patch","issue_url":"https://api.github.com/repos/chef/cookbook-omnifetch/issues/2","number":2,"state":"closed","locked":false,"title":"Make exception string representations also the message","user":{"login":"danielsdeleo","id":37162,"avatar_url":"https://avatars.githubusercontent.com/u/37162?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsdeleo","html_url":"https://github.com/danielsdeleo","followers_url":"https://api.github.com/users/danielsdeleo/followers","following_url":"https://api.github.com/users/danielsdeleo/following{/other_user}","gists_url":"https://api.github.com/users/danielsdeleo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsdeleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsdeleo/subscriptions","organizations_url":"https://api.github.com/users/danielsdeleo/orgs","repos_url":"https://api.github.com/users/danielsdeleo/repos","events_url":"https://api.github.com/users/danielsdeleo/events{/privacy}","received_events_url":"https://api.github.com/users/danielsdeleo/received_events","type":"User","site_admin":false},"body":"In ChefDK, we assume that `SomeException#message` will be informative, but the exception classes here assume you will be calling `SomeException#to_s`. By assigning `to_s` to `message`, we make everyone happy.\r\n\r\nThis is a partial fix for https://github.com/chef/chef-dk/issues/564 (need to ship, bump version constraint and apply a small fix to chef-dk for a similar error case)","created_at":"2015-10-13T18:53:30Z","updated_at":"2015-10-13T21:39:36Z","closed_at":"2015-10-13T21:39:36Z","merged_at":"2015-10-13T21:39:36Z","merge_commit_sha":"1f4f3149454975484f36353cda98b7ea690b970a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls/2/commits","review_comments_url":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls/2/comments","review_comment_url":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef/cookbook-omnifetch/issues/2/comments","statuses_url":"https://api.github.com/repos/chef/cookbook-omnifetch/statuses/bbd50536489c6b11c88c403054ec87d34e88c713","head":{"label":"chef:fix-exception-message","ref":"fix-exception-message","sha":"bbd50536489c6b11c88c403054ec87d34e88c713","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":20980879,"name":"cookbook-omnifetch","full_name":"chef/cookbook-omnifetch","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/cookbook-omnifetch","description":"Fetch Chef Cookbooks from Various Sources to a Local Cache","fork":false,"url":"https://api.github.com/repos/chef/cookbook-omnifetch","forks_url":"https://api.github.com/repos/chef/cookbook-omnifetch/forks","keys_url":"https://api.github.com/repos/chef/cookbook-omnifetch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/cookbook-omnifetch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/cookbook-omnifetch/teams","hooks_url":"https://api.github.com/repos/chef/cookbook-omnifetch/hooks","issue_events_url":"https://api.github.com/repos/chef/cookbook-omnifetch/issues/events{/number}","events_url":"https://api.github.com/repos/chef/cookbook-omnifetch/events","assignees_url":"https://api.github.com/repos/chef/cookbook-omnifetch/assignees{/user}","branches_url":"https://api.github.com/repos/chef/cookbook-omnifetch/branches{/branch}","tags_url":"https://api.github.com/repos/chef/cookbook-omnifetch/tags","blobs_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/cookbook-omnifetch/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/cookbook-omnifetch/languages","stargazers_url":"https://api.github.com/repos/chef/cookbook-omnifetch/stargazers","contributors_url":"https://api.github.com/repos/chef/cookbook-omnifetch/contributors","subscribers_url":"https://api.github.com/repos/chef/cookbook-omnifetch/subscribers","subscription_url":"https://api.github.com/repos/chef/cookbook-omnifetch/subscription","commits_url":"https://api.github.com/repos/chef/cookbook-omnifetch/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/cookbook-omnifetch/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/cookbook-omnifetch/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/cookbook-omnifetch/contents/{+path}","compare_url":"https://api.github.com/repos/chef/cookbook-omnifetch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/cookbook-omnifetch/merges","archive_url":"https://api.github.com/repos/chef/cookbook-omnifetch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/cookbook-omnifetch/downloads","issues_url":"https://api.github.com/repos/chef/cookbook-omnifetch/issues{/number}","pulls_url":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/cookbook-omnifetch/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/cookbook-omnifetch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/cookbook-omnifetch/labels{/name}","releases_url":"https://api.github.com/repos/chef/cookbook-omnifetch/releases{/id}","created_at":"2014-06-18T23:01:54Z","updated_at":"2015-03-26T01:54:54Z","pushed_at":"2015-10-13T21:39:36Z","git_url":"git://github.com/chef/cookbook-omnifetch.git","ssh_url":"git@github.com:chef/cookbook-omnifetch.git","clone_url":"https://github.com/chef/cookbook-omnifetch.git","svn_url":"https://github.com/chef/cookbook-omnifetch","homepage":null,"size":264,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"chef:master","ref":"master","sha":"6728e28820e2f2efa4e992bac0eb2b1c9afb9b89","user":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"repo":{"id":20980879,"name":"cookbook-omnifetch","full_name":"chef/cookbook-omnifetch","owner":{"login":"chef","id":29740,"avatar_url":"https://avatars.githubusercontent.com/u/29740?v=3","gravatar_id":"","url":"https://api.github.com/users/chef","html_url":"https://github.com/chef","followers_url":"https://api.github.com/users/chef/followers","following_url":"https://api.github.com/users/chef/following{/other_user}","gists_url":"https://api.github.com/users/chef/gists{/gist_id}","starred_url":"https://api.github.com/users/chef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef/subscriptions","organizations_url":"https://api.github.com/users/chef/orgs","repos_url":"https://api.github.com/users/chef/repos","events_url":"https://api.github.com/users/chef/events{/privacy}","received_events_url":"https://api.github.com/users/chef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef/cookbook-omnifetch","description":"Fetch Chef Cookbooks from Various Sources to a Local Cache","fork":false,"url":"https://api.github.com/repos/chef/cookbook-omnifetch","forks_url":"https://api.github.com/repos/chef/cookbook-omnifetch/forks","keys_url":"https://api.github.com/repos/chef/cookbook-omnifetch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef/cookbook-omnifetch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef/cookbook-omnifetch/teams","hooks_url":"https://api.github.com/repos/chef/cookbook-omnifetch/hooks","issue_events_url":"https://api.github.com/repos/chef/cookbook-omnifetch/issues/events{/number}","events_url":"https://api.github.com/repos/chef/cookbook-omnifetch/events","assignees_url":"https://api.github.com/repos/chef/cookbook-omnifetch/assignees{/user}","branches_url":"https://api.github.com/repos/chef/cookbook-omnifetch/branches{/branch}","tags_url":"https://api.github.com/repos/chef/cookbook-omnifetch/tags","blobs_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef/cookbook-omnifetch/statuses/{sha}","languages_url":"https://api.github.com/repos/chef/cookbook-omnifetch/languages","stargazers_url":"https://api.github.com/repos/chef/cookbook-omnifetch/stargazers","contributors_url":"https://api.github.com/repos/chef/cookbook-omnifetch/contributors","subscribers_url":"https://api.github.com/repos/chef/cookbook-omnifetch/subscribers","subscription_url":"https://api.github.com/repos/chef/cookbook-omnifetch/subscription","commits_url":"https://api.github.com/repos/chef/cookbook-omnifetch/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef/cookbook-omnifetch/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef/cookbook-omnifetch/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef/cookbook-omnifetch/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef/cookbook-omnifetch/contents/{+path}","compare_url":"https://api.github.com/repos/chef/cookbook-omnifetch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef/cookbook-omnifetch/merges","archive_url":"https://api.github.com/repos/chef/cookbook-omnifetch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef/cookbook-omnifetch/downloads","issues_url":"https://api.github.com/repos/chef/cookbook-omnifetch/issues{/number}","pulls_url":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls{/number}","milestones_url":"https://api.github.com/repos/chef/cookbook-omnifetch/milestones{/number}","notifications_url":"https://api.github.com/repos/chef/cookbook-omnifetch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef/cookbook-omnifetch/labels{/name}","releases_url":"https://api.github.com/repos/chef/cookbook-omnifetch/releases{/id}","created_at":"2014-06-18T23:01:54Z","updated_at":"2015-03-26T01:54:54Z","pushed_at":"2015-10-13T21:39:36Z","git_url":"git://github.com/chef/cookbook-omnifetch.git","ssh_url":"git@github.com:chef/cookbook-omnifetch.git","clone_url":"https://github.com/chef/cookbook-omnifetch.git","svn_url":"https://github.com/chef/cookbook-omnifetch","homepage":null,"size":264,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls/2"},"html":{"href":"https://github.com/chef/cookbook-omnifetch/pull/2"},"issue":{"href":"https://api.github.com/repos/chef/cookbook-omnifetch/issues/2"},"comments":{"href":"https://api.github.com/repos/chef/cookbook-omnifetch/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef/cookbook-omnifetch/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/chef/cookbook-omnifetch/statuses/bbd50536489c6b11c88c403054ec87d34e88c713"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"danielsdeleo","id":37162,"avatar_url":"https://avatars.githubusercontent.com/u/37162?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsdeleo","html_url":"https://github.com/danielsdeleo","followers_url":"https://api.github.com/users/danielsdeleo/followers","following_url":"https://api.github.com/users/danielsdeleo/following{/other_user}","gists_url":"https://api.github.com/users/danielsdeleo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsdeleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsdeleo/subscriptions","organizations_url":"https://api.github.com/users/danielsdeleo/orgs","repos_url":"https://api.github.com/users/danielsdeleo/repos","events_url":"https://api.github.com/users/danielsdeleo/events{/privacy}","received_events_url":"https://api.github.com/users/danielsdeleo/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":91,"deletions":1,"changed_files":2}}