{"action":"created","issue":{"url":"https://api.github.com/repos/caelum/vraptor4/issues/926","labels_url":"https://api.github.com/repos/caelum/vraptor4/issues/926/labels{/name}","comments_url":"https://api.github.com/repos/caelum/vraptor4/issues/926/comments","events_url":"https://api.github.com/repos/caelum/vraptor4/issues/926/events","html_url":"https://github.com/caelum/vraptor4/pull/926","id":54369908,"number":926,"title":"Support status 500","user":{"login":"nykolaslima","id":1128572,"avatar_url":"https://avatars.githubusercontent.com/u/1128572?v=3","gravatar_id":"","url":"https://api.github.com/users/nykolaslima","html_url":"https://github.com/nykolaslima","followers_url":"https://api.github.com/users/nykolaslima/followers","following_url":"https://api.github.com/users/nykolaslima/following{/other_user}","gists_url":"https://api.github.com/users/nykolaslima/gists{/gist_id}","starred_url":"https://api.github.com/users/nykolaslima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nykolaslima/subscriptions","organizations_url":"https://api.github.com/users/nykolaslima/orgs","repos_url":"https://api.github.com/users/nykolaslima/repos","events_url":"https://api.github.com/users/nykolaslima/events{/privacy}","received_events_url":"https://api.github.com/users/nykolaslima/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caelum/vraptor4/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-14T20:08:49Z","updated_at":"2015-01-16T13:08:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caelum/vraptor4/pulls/926","html_url":"https://github.com/caelum/vraptor4/pull/926","diff_url":"https://github.com/caelum/vraptor4/pull/926.diff","patch_url":"https://github.com/caelum/vraptor4/pull/926.patch"},"body":"closes #912"},"comment":{"url":"https://api.github.com/repos/caelum/vraptor4/issues/comments/70250984","html_url":"https://github.com/caelum/vraptor4/pull/926#issuecomment-70250984","issue_url":"https://api.github.com/repos/caelum/vraptor4/issues/926","id":70250984,"user":{"login":"nykolaslima","id":1128572,"avatar_url":"https://avatars.githubusercontent.com/u/1128572?v=3","gravatar_id":"","url":"https://api.github.com/users/nykolaslima","html_url":"https://github.com/nykolaslima","followers_url":"https://api.github.com/users/nykolaslima/followers","following_url":"https://api.github.com/users/nykolaslima/following{/other_user}","gists_url":"https://api.github.com/users/nykolaslima/gists{/gist_id}","starred_url":"https://api.github.com/users/nykolaslima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nykolaslima/subscriptions","organizations_url":"https://api.github.com/users/nykolaslima/orgs","repos_url":"https://api.github.com/users/nykolaslima/repos","events_url":"https://api.github.com/users/nykolaslima/events{/privacy}","received_events_url":"https://api.github.com/users/nykolaslima/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T13:08:05Z","updated_at":"2015-01-16T13:08:05Z","body":"@lucascs Actually, in my use case, I want to return an empty response.\r\n\r\nBut I want to log the error and be explicit in my code that I'm returning 500 as response. I think that just throwing an exception without anyone to handle it can confuse other developers. They will think: \"what's happening with this exception? Who catch this? What's the response after this?\"\r\n\r\nAbout the 500 page, the server will not render it because the client will ask for a JSON with the header `accepts: application/json`"}}