{"action":"created","issue":{"url":"https://api.github.com/repos/Fody/MethodDecorator/issues/30","repository_url":"https://api.github.com/repos/Fody/MethodDecorator","labels_url":"https://api.github.com/repos/Fody/MethodDecorator/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Fody/MethodDecorator/issues/30/comments","events_url":"https://api.github.com/repos/Fody/MethodDecorator/issues/30/events","html_url":"https://github.com/Fody/MethodDecorator/issues/30","id":130480197,"number":30,"title":"Playing nice with async exceptions","user":{"login":"swestner","id":6485583,"avatar_url":"https://avatars.githubusercontent.com/u/6485583?v=3","gravatar_id":"","url":"https://api.github.com/users/swestner","html_url":"https://github.com/swestner","followers_url":"https://api.github.com/users/swestner/followers","following_url":"https://api.github.com/users/swestner/following{/other_user}","gists_url":"https://api.github.com/users/swestner/gists{/gist_id}","starred_url":"https://api.github.com/users/swestner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swestner/subscriptions","organizations_url":"https://api.github.com/users/swestner/orgs","repos_url":"https://api.github.com/users/swestner/repos","events_url":"https://api.github.com/users/swestner/events{/privacy}","received_events_url":"https://api.github.com/users/swestner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-01T20:54:16Z","updated_at":"2016-03-04T15:57:53Z","closed_at":null,"body":"It would be great if method decorators would play nice with async exceptions. What would be involved in making this happen? \r\n\r\nLooking at the AsyncErrorHandler repo, it walks the instruction stack and looks for the SetException methods and injects prior to that. Would that approach be valid here? Or is there something obvious I am overlooking?"},"comment":{"url":"https://api.github.com/repos/Fody/MethodDecorator/issues/comments/192333081","html_url":"https://github.com/Fody/MethodDecorator/issues/30#issuecomment-192333081","issue_url":"https://api.github.com/repos/Fody/MethodDecorator/issues/30","id":192333081,"user":{"login":"Tybielee","id":9011308,"avatar_url":"https://avatars.githubusercontent.com/u/9011308?v=3","gravatar_id":"","url":"https://api.github.com/users/Tybielee","html_url":"https://github.com/Tybielee","followers_url":"https://api.github.com/users/Tybielee/followers","following_url":"https://api.github.com/users/Tybielee/following{/other_user}","gists_url":"https://api.github.com/users/Tybielee/gists{/gist_id}","starred_url":"https://api.github.com/users/Tybielee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tybielee/subscriptions","organizations_url":"https://api.github.com/users/Tybielee/orgs","repos_url":"https://api.github.com/users/Tybielee/repos","events_url":"https://api.github.com/users/Tybielee/events{/privacy}","received_events_url":"https://api.github.com/users/Tybielee/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T15:57:53Z","updated_at":"2016-03-04T15:57:53Z","body":"@swestner were you able to get the MethodDecorator to play nicely with asynchronous methods in general? I'm having issues with the accuracy of the OnExit method being called well before the method itself has finished."}}