{"action":"created","issue":{"url":"https://api.github.com/repos/machty/ember-concurrency/issues/42","repository_url":"https://api.github.com/repos/machty/ember-concurrency","labels_url":"https://api.github.com/repos/machty/ember-concurrency/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/machty/ember-concurrency/issues/42/comments","events_url":"https://api.github.com/repos/machty/ember-concurrency/issues/42/events","html_url":"https://github.com/machty/ember-concurrency/issues/42","id":146959946,"number":42,"title":"Errors from subtasks are re-thrown even when caught","user":{"login":"dfreeman","id":108688,"avatar_url":"https://avatars.githubusercontent.com/u/108688?v=3","gravatar_id":"","url":"https://api.github.com/users/dfreeman","html_url":"https://github.com/dfreeman","followers_url":"https://api.github.com/users/dfreeman/followers","following_url":"https://api.github.com/users/dfreeman/following{/other_user}","gists_url":"https://api.github.com/users/dfreeman/gists{/gist_id}","starred_url":"https://api.github.com/users/dfreeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfreeman/subscriptions","organizations_url":"https://api.github.com/users/dfreeman/orgs","repos_url":"https://api.github.com/users/dfreeman/repos","events_url":"https://api.github.com/users/dfreeman/events{/privacy}","received_events_url":"https://api.github.com/users/dfreeman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-08T15:27:57Z","updated_at":"2016-04-27T16:07:49Z","closed_at":"2016-04-27T15:58:57Z","body":"I believe @wecc mentioned seeing something like this in Slack as well, but I didn't see an issue already filed here. If I perform `task` below, the resulting error hits the `catch` block, but it also ends up being rethrown elsewhere and trickling up to `window.onerror`.\r\n\r\n```js\r\ntask: task(function* () {\r\n  try {\r\n    yield this.get('subtask').perform();\r\n  } catch (error) {\r\n    console.log('caught', error);\r\n  }\r\n}),\r\n\r\nsubtask: task(function* () {\r\n  throw new Error('boom');\r\n})\r\n```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/108688/14388603/e125268a-fd7c-11e5-83af-369962b10256.png)\r\n"},"comment":{"url":"https://api.github.com/repos/machty/ember-concurrency/issues/comments/215133213","html_url":"https://github.com/machty/ember-concurrency/issues/42#issuecomment-215133213","issue_url":"https://api.github.com/repos/machty/ember-concurrency/issues/42","id":215133213,"user":{"login":"machty","id":81818,"avatar_url":"https://avatars.githubusercontent.com/u/81818?v=3","gravatar_id":"","url":"https://api.github.com/users/machty","html_url":"https://github.com/machty","followers_url":"https://api.github.com/users/machty/followers","following_url":"https://api.github.com/users/machty/following{/other_user}","gists_url":"https://api.github.com/users/machty/gists{/gist_id}","starred_url":"https://api.github.com/users/machty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machty/subscriptions","organizations_url":"https://api.github.com/users/machty/orgs","repos_url":"https://api.github.com/users/machty/repos","events_url":"https://api.github.com/users/machty/events{/privacy}","received_events_url":"https://api.github.com/users/machty/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T16:07:49Z","updated_at":"2016-04-27T16:07:49Z","body":"Fixed and release in 0.6.2"}}