{"action":"closed","issue":{"url":"https://api.github.com/repos/morelinq/MoreLINQ/issues/437","repository_url":"https://api.github.com/repos/morelinq/MoreLINQ","labels_url":"https://api.github.com/repos/morelinq/MoreLINQ/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/morelinq/MoreLINQ/issues/437/comments","events_url":"https://api.github.com/repos/morelinq/MoreLINQ/issues/437/events","html_url":"https://github.com/morelinq/MoreLINQ/issues/437","id":313191114,"number":437,"title":"Await shouldn't throw AggregateException","user":{"login":"atifaziz","id":20511,"avatar_url":"https://avatars2.githubusercontent.com/u/20511?v=4","gravatar_id":"","url":"https://api.github.com/users/atifaziz","html_url":"https://github.com/atifaziz","followers_url":"https://api.github.com/users/atifaziz/followers","following_url":"https://api.github.com/users/atifaziz/following{/other_user}","gists_url":"https://api.github.com/users/atifaziz/gists{/gist_id}","starred_url":"https://api.github.com/users/atifaziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atifaziz/subscriptions","organizations_url":"https://api.github.com/users/atifaziz/orgs","repos_url":"https://api.github.com/users/atifaziz/repos","events_url":"https://api.github.com/users/atifaziz/events{/privacy}","received_events_url":"https://api.github.com/users/atifaziz/received_events","type":"User","site_admin":false},"labels":[{"id":250922547,"url":"https://api.github.com/repos/morelinq/MoreLINQ/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/morelinq/MoreLINQ/milestones/2","html_url":"https://github.com/morelinq/MoreLINQ/milestone/2","labels_url":"https://api.github.com/repos/morelinq/MoreLINQ/milestones/2/labels","id":2227713,"number":2,"title":"3.0.0","description":"","creator":{"login":"atifaziz","id":20511,"avatar_url":"https://avatars2.githubusercontent.com/u/20511?v=4","gravatar_id":"","url":"https://api.github.com/users/atifaziz","html_url":"https://github.com/atifaziz","followers_url":"https://api.github.com/users/atifaziz/followers","following_url":"https://api.github.com/users/atifaziz/following{/other_user}","gists_url":"https://api.github.com/users/atifaziz/gists{/gist_id}","starred_url":"https://api.github.com/users/atifaziz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atifaziz/subscriptions","organizations_url":"https://api.github.com/users/atifaziz/orgs","repos_url":"https://api.github.com/users/atifaziz/repos","events_url":"https://api.github.com/users/atifaziz/events{/privacy}","received_events_url":"https://api.github.com/users/atifaziz/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2017-01-04T10:04:25Z","updated_at":"2018-04-11T07:50:43Z","due_on":"2018-04-30T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-04-11T06:37:48Z","updated_at":"2018-04-11T07:50:43Z","closed_at":"2018-04-11T07:50:43Z","author_association":"OWNER","body":"Using [3.0 beta 1](https://github.com/morelinq/MoreLINQ/releases/tag/v3.0.0-beta-1), run the following code:\r\n\r\n```c#\r\nEnumerable\r\n    .Range(1, 5)\r\n    .Await(async (x, ct) =>\r\n    {\r\n        await Task.Yield();\r\n        return x < 3 ? x : throw new Exception(\"Oops!\");\r\n    })\r\n    .AsOrdered()\r\n    .Consume();\r\n```\r\n\r\n## Expected Results\r\n\r\nExpected the query to end with `ApplicationException` being thrown directly.\r\n\r\n## Actual Results\r\n\r\nInstead `AggregateException` is thrown, wrapping `ApplicationException`.\r\n"}}
{"actor":{"display_login":"atifaziz"}}