{"action":"created","issue":{"url":"https://api.github.com/repos/mochajs/mocha/issues/1802","labels_url":"https://api.github.com/repos/mochajs/mocha/issues/1802/labels{/name}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/1802/comments","events_url":"https://api.github.com/repos/mochajs/mocha/issues/1802/events","html_url":"https://github.com/mochajs/mocha/pull/1802","id":95309839,"number":1802,"title":"Fix for async hook error handling issue","user":{"login":"ajaykodali","id":1683324,"avatar_url":"https://avatars.githubusercontent.com/u/1683324?v=3","gravatar_id":"","url":"https://api.github.com/users/ajaykodali","html_url":"https://github.com/ajaykodali","followers_url":"https://api.github.com/users/ajaykodali/followers","following_url":"https://api.github.com/users/ajaykodali/following{/other_user}","gists_url":"https://api.github.com/users/ajaykodali/gists{/gist_id}","starred_url":"https://api.github.com/users/ajaykodali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajaykodali/subscriptions","organizations_url":"https://api.github.com/users/ajaykodali/orgs","repos_url":"https://api.github.com/users/ajaykodali/repos","events_url":"https://api.github.com/users/ajaykodali/events{/privacy}","received_events_url":"https://api.github.com/users/ajaykodali/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-07-15T23:13:22Z","updated_at":"2015-07-22T08:55:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mochajs/mocha/pulls/1802","html_url":"https://github.com/mochajs/mocha/pull/1802","diff_url":"https://github.com/mochajs/mocha/pull/1802.diff","patch_url":"https://github.com/mochajs/mocha/pull/1802.patch"},"body":"* The issue causes sibling suites too fail when there is an async error thrown in the hooks of one suite\r\n* Added unit test cases for async hook error handling\r\n* Fixed minor issue in existing sync hook error unit test case\r\n\r\nDetail:\r\nHook failures are handled in the same manner as outlines in this PR - https://github.com/mochajs/mocha/pull/1043\r\n\r\nThis fix simply ensures that uncaught aysnc errors are being handled appropriately rather than bailing. \r\n\r\nThis fix should also resolve issue - https://github.com/mochajs/mocha/issues/534"},"comment":{"url":"https://api.github.com/repos/mochajs/mocha/issues/comments/123626615","html_url":"https://github.com/mochajs/mocha/pull/1802#issuecomment-123626615","issue_url":"https://api.github.com/repos/mochajs/mocha/issues/1802","id":123626615,"user":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T08:55:49Z","updated_at":"2015-07-22T08:55:49Z","body":"Is there a better way to detect an `afterEach` than examining `fullTitle`?"}}