{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/8332","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/8332/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/8332/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/8332/events","html_url":"https://github.com/aspnet/Mvc/issues/8332","id":354377769,"node_id":"MDU6SXNzdWUzNTQzNzc3Njk=","number":8332,"title":"HttpConfiguration.IncludeErrorDetailPolicy in .NetCore","user":{"login":"mgolois","id":5728829,"node_id":"MDQ6VXNlcjU3Mjg4Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/5728829?v=4","gravatar_id":"","url":"https://api.github.com/users/mgolois","html_url":"https://github.com/mgolois","followers_url":"https://api.github.com/users/mgolois/followers","following_url":"https://api.github.com/users/mgolois/following{/other_user}","gists_url":"https://api.github.com/users/mgolois/gists{/gist_id}","starred_url":"https://api.github.com/users/mgolois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgolois/subscriptions","organizations_url":"https://api.github.com/users/mgolois/orgs","repos_url":"https://api.github.com/users/mgolois/repos","events_url":"https://api.github.com/users/mgolois/events{/privacy}","received_events_url":"https://api.github.com/users/mgolois/received_events","type":"User","site_admin":false},"labels":[{"id":70264664,"node_id":"MDU6TGFiZWw3MDI2NDY2NA==","url":"https://api.github.com/repos/aspnet/Mvc/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"pranavkm","id":174281,"node_id":"MDQ6VXNlcjE3NDI4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/174281?v=4","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"assignees":[{"login":"pranavkm","id":174281,"node_id":"MDQ6VXNlcjE3NDI4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/174281?v=4","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-08-27T16:00:25Z","updated_at":"2018-08-27T17:56:41Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nCurrently migrating code from .NET 4 mvc app to .Net Core 2.1 mvc app.\r\nPreviously, we were able to set this policy for webapi errors; does this have an equivalence in .Net Core\r\n`HttpConfiguration.IncludeErrorDetailPolicy = IncludeErrorDetailPolicy.Always`"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/416312305","html_url":"https://github.com/aspnet/Mvc/issues/8332#issuecomment-416312305","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/8332","id":416312305,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjMxMjMwNQ==","user":{"login":"pranavkm","id":174281,"node_id":"MDQ6VXNlcjE3NDI4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/174281?v=4","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T17:56:41Z","updated_at":"2018-08-27T17:56:41Z","author_association":"MEMBER","body":"@mgolois there isn't a direct equivalent to `IncludeErrorDetailPolicy`.  The closest approximations would be to \r\n\r\na) Globally add a exception filter and configure the filter to process the exception\r\nb) Configure an instance of [`ExceptionHandlerMiddleware`](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-2.1#configuring-a-custom-exception-handling-page) to point to an action that can process the exception. "}}
{"actor":{"display_login":"pranavkm"}}