{"action":"opened","issue":{"url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/63","labels_url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/63/comments","events_url":"https://api.github.com/repos/fsprojects/FSharp.TypeProviders.StarterPack/issues/63/events","html_url":"https://github.com/fsprojects/FSharp.TypeProviders.StarterPack/issues/63","id":108008917,"number":63,"title":"Unwrapped inner exception related to ProvidedMethod.DefineStaticParameters","user":{"login":"dmitry-a-morozov","id":3004037,"avatar_url":"https://avatars.githubusercontent.com/u/3004037?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitry-a-morozov","html_url":"https://github.com/dmitry-a-morozov","followers_url":"https://api.github.com/users/dmitry-a-morozov/followers","following_url":"https://api.github.com/users/dmitry-a-morozov/following{/other_user}","gists_url":"https://api.github.com/users/dmitry-a-morozov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitry-a-morozov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitry-a-morozov/subscriptions","organizations_url":"https://api.github.com/users/dmitry-a-morozov/orgs","repos_url":"https://api.github.com/users/dmitry-a-morozov/repos","events_url":"https://api.github.com/users/dmitry-a-morozov/events{/privacy}","received_events_url":"https://api.github.com/users/dmitry-a-morozov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-23T21:20:27Z","updated_at":"2015-09-23T21:20:27Z","closed_at":null,"body":"When exception is thrown in body of ```instantiationFunction``` passed to ProvidedMethod.DefineStaticParameters it shows up in user code as \r\n\"The type provider ... reported an error: Exception has been thrown by the target of an invocation...\" \r\nAn actual error message is hidden from user which makes this feature almost unusable. \r\n\r\nI'm not sure whether it requires the compiler or FSharp.TypeProviders.StarterPack fix.\r\n//cc @dsyme "}}