{"action":"created","issue":{"url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1544","repository_url":"https://api.github.com/repos/dropwizard/dropwizard","labels_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1544/labels{/name}","comments_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1544/comments","events_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1544/events","html_url":"https://github.com/dropwizard/dropwizard/pull/1544","id":154148594,"number":1544,"title":"Fix invalid JSON reporting server errors","user":{"login":"nickbabcock","id":2106129,"avatar_url":"https://avatars.githubusercontent.com/u/2106129?v=3","gravatar_id":"","url":"https://api.github.com/users/nickbabcock","html_url":"https://github.com/nickbabcock","followers_url":"https://api.github.com/users/nickbabcock/followers","following_url":"https://api.github.com/users/nickbabcock/following{/other_user}","gists_url":"https://api.github.com/users/nickbabcock/gists{/gist_id}","starred_url":"https://api.github.com/users/nickbabcock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickbabcock/subscriptions","organizations_url":"https://api.github.com/users/nickbabcock/orgs","repos_url":"https://api.github.com/users/nickbabcock/repos","events_url":"https://api.github.com/users/nickbabcock/events{/privacy}","received_events_url":"https://api.github.com/users/nickbabcock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-11T02:43:44Z","updated_at":"2016-05-11T11:15:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/1544","html_url":"https://github.com/dropwizard/dropwizard/pull/1544","diff_url":"https://github.com/dropwizard/dropwizard/pull/1544.diff","patch_url":"https://github.com/dropwizard/dropwizard/pull/1544.patch"},"body":"As a follow up to #1527\r\n\r\nThis PR does a couple things:\r\n\r\n- Entities that throw an `IOException` on deserialization will now map to a client error on invalid input instead of being handled by the logging exception handler\r\n- New implementation determining whether a Jackson exception is due to the server (programmer's) or client's fault. New implementation was needed because the new tests that were written exposed flaws. After scratching my head for far too long, the best solution was peeking at the exception message. Not cleanest, but the tests will show if the error messages change in a future version.\r\n- Clean up the tests a tad\r\n\r\nCloses #1539, #1540"},"comment":{"url":"https://api.github.com/repos/dropwizard/dropwizard/issues/comments/218430280","html_url":"https://github.com/dropwizard/dropwizard/pull/1544#issuecomment-218430280","issue_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/1544","id":218430280,"user":{"login":"jplock","id":49093,"avatar_url":"https://avatars.githubusercontent.com/u/49093?v=3","gravatar_id":"","url":"https://api.github.com/users/jplock","html_url":"https://github.com/jplock","followers_url":"https://api.github.com/users/jplock/followers","following_url":"https://api.github.com/users/jplock/following{/other_user}","gists_url":"https://api.github.com/users/jplock/gists{/gist_id}","starred_url":"https://api.github.com/users/jplock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jplock/subscriptions","organizations_url":"https://api.github.com/users/jplock/orgs","repos_url":"https://api.github.com/users/jplock/repos","events_url":"https://api.github.com/users/jplock/events{/privacy}","received_events_url":"https://api.github.com/users/jplock/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T11:15:38Z","updated_at":"2016-05-11T11:15:38Z","body":"LGTM"}}