{"action":"closed","issue":{"url":"https://api.github.com/repos/nexylan/paybox-direct/issues/30","repository_url":"https://api.github.com/repos/nexylan/paybox-direct","labels_url":"https://api.github.com/repos/nexylan/paybox-direct/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/nexylan/paybox-direct/issues/30/comments","events_url":"https://api.github.com/repos/nexylan/paybox-direct/issues/30/events","html_url":"https://github.com/nexylan/paybox-direct/issues/30","id":151334952,"number":30,"title":"Provide the response in exceptions when applicable","user":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars.githubusercontent.com/u/657779?v=3","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-04-27T09:07:32Z","updated_at":"2016-04-28T10:23:52Z","closed_at":"2016-04-28T10:23:52Z","body":"If would be nice to be able to see the response object when an exception is displayed. Not sure if it should be part of the message or rather be a property of the exception, and have this property be nicely displayed by some framework integration class.\r\n\r\nWhen logging the exception, this property should be added to the `$context` argument."}}