{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/124","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/124/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/124/events","html_url":"https://github.com/sindresorhus/ava/pull/124","id":114995165,"number":124,"title":"Refactor promises in throws method","user":{"login":"SamVerschueren","id":1913805,"avatar_url":"https://avatars.githubusercontent.com/u/1913805?v=3","gravatar_id":"","url":"https://api.github.com/users/SamVerschueren","html_url":"https://github.com/SamVerschueren","followers_url":"https://api.github.com/users/SamVerschueren/followers","following_url":"https://api.github.com/users/SamVerschueren/following{/other_user}","gists_url":"https://api.github.com/users/SamVerschueren/gists{/gist_id}","starred_url":"https://api.github.com/users/SamVerschueren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamVerschueren/subscriptions","organizations_url":"https://api.github.com/users/SamVerschueren/orgs","repos_url":"https://api.github.com/users/SamVerschueren/repos","events_url":"https://api.github.com/users/SamVerschueren/events{/privacy}","received_events_url":"https://api.github.com/users/SamVerschueren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-11-04T08:01:51Z","updated_at":"2015-11-04T16:33:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/ava/pulls/124","html_url":"https://github.com/sindresorhus/ava/pull/124","diff_url":"https://github.com/sindresorhus/ava/pull/124.diff","patch_url":"https://github.com/sindresorhus/ava/pull/124.patch"},"body":"Regardless of issue https://github.com/sindresorhus/ava/issues/123, I think the promise code in `x.throws` might be written more cleaner."},"comment":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/comments/153784700","html_url":"https://github.com/sindresorhus/ava/pull/124#issuecomment-153784700","issue_url":"https://api.github.com/repos/sindresorhus/ava/issues/124","id":153784700,"user":{"login":"vdemedes","id":697676,"avatar_url":"https://avatars.githubusercontent.com/u/697676?v=3","gravatar_id":"","url":"https://api.github.com/users/vdemedes","html_url":"https://github.com/vdemedes","followers_url":"https://api.github.com/users/vdemedes/followers","following_url":"https://api.github.com/users/vdemedes/following{/other_user}","gists_url":"https://api.github.com/users/vdemedes/gists{/gist_id}","starred_url":"https://api.github.com/users/vdemedes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdemedes/subscriptions","organizations_url":"https://api.github.com/users/vdemedes/orgs","repos_url":"https://api.github.com/users/vdemedes/repos","events_url":"https://api.github.com/users/vdemedes/events{/privacy}","received_events_url":"https://api.github.com/users/vdemedes/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T16:33:59Z","updated_at":"2015-11-04T16:33:59Z","body":"@schnittstabil https://github.com/petkaantonov/bluebird/wiki/Promise-anti-patterns#the-thensuccess-fail-anti-pattern"}}