{"action":"closed","issue":{"url":"https://api.github.com/repos/pytest-dev/pytest/issues/218","labels_url":"https://api.github.com/repos/pytest-dev/pytest/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/pytest-dev/pytest/issues/218/comments","events_url":"https://api.github.com/repos/pytest-dev/pytest/issues/218/events","html_url":"https://github.com/pytest-dev/pytest/issues/218","id":88533279,"number":218,"title":"Add a new test hook that allows displaying custom information on an exception","user":{"login":"pytestbot","id":12873537,"avatar_url":"https://avatars.githubusercontent.com/u/12873537?v=3","gravatar_id":"","url":"https://api.github.com/users/pytestbot","html_url":"https://github.com/pytestbot","followers_url":"https://api.github.com/users/pytestbot/followers","following_url":"https://api.github.com/users/pytestbot/following{/other_user}","gists_url":"https://api.github.com/users/pytestbot/gists{/gist_id}","starred_url":"https://api.github.com/users/pytestbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytestbot/subscriptions","organizations_url":"https://api.github.com/users/pytestbot/orgs","repos_url":"https://api.github.com/users/pytestbot/repos","events_url":"https://api.github.com/users/pytestbot/events{/privacy}","received_events_url":"https://api.github.com/users/pytestbot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pytest-dev/pytest/labels/proposal","name":"proposal","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2012-11-05T02:17:18Z","updated_at":"2015-08-11T21:06:49Z","closed_at":"2015-08-11T21:06:49Z","body":"Originally reported by: **Alex Gaynor (BitBucket: [alex_gaynor](http://bitbucket.org/alex_gaynor), GitHub: [alex_gaynor](http://github.com/alex_gaynor))**\n\n----------------------------------------\n\nRight now there's a hook that lets you display custom information in the event of an assertion failure. I'd like to have the same, except for in the event an exception is raised.\n\nIdeally it would\na) let me display the original traceback, excactly as pytest normally would (and add extra info to it)\nb) let me filter on specific types of exceptions\nc) be as awesome as the rest of py.test\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/pytest-dev/pytest/issue/218\n"}}