{"action":"closed","issue":{"url":"https://api.github.com/repos/aber-cs22120-group-15/TaskerMAN/issues/2","labels_url":"https://api.github.com/repos/aber-cs22120-group-15/TaskerMAN/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/aber-cs22120-group-15/TaskerMAN/issues/2/comments","events_url":"https://api.github.com/repos/aber-cs22120-group-15/TaskerMAN/issues/2/events","html_url":"https://github.com/aber-cs22120-group-15/TaskerMAN/issues/2","id":116529025,"number":2,"title":"API should return JSON formatted errors upon exceptions","user":{"login":"GLaDOSDan","id":920215,"avatar_url":"https://avatars.githubusercontent.com/u/920215?v=3","gravatar_id":"","url":"https://api.github.com/users/GLaDOSDan","html_url":"https://github.com/GLaDOSDan","followers_url":"https://api.github.com/users/GLaDOSDan/followers","following_url":"https://api.github.com/users/GLaDOSDan/following{/other_user}","gists_url":"https://api.github.com/users/GLaDOSDan/gists{/gist_id}","starred_url":"https://api.github.com/users/GLaDOSDan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GLaDOSDan/subscriptions","organizations_url":"https://api.github.com/users/GLaDOSDan/orgs","repos_url":"https://api.github.com/users/GLaDOSDan/repos","events_url":"https://api.github.com/users/GLaDOSDan/events{/privacy}","received_events_url":"https://api.github.com/users/GLaDOSDan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"GLaDOSDan","id":920215,"avatar_url":"https://avatars.githubusercontent.com/u/920215?v=3","gravatar_id":"","url":"https://api.github.com/users/GLaDOSDan","html_url":"https://github.com/GLaDOSDan","followers_url":"https://api.github.com/users/GLaDOSDan/followers","following_url":"https://api.github.com/users/GLaDOSDan/following{/other_user}","gists_url":"https://api.github.com/users/GLaDOSDan/gists{/gist_id}","starred_url":"https://api.github.com/users/GLaDOSDan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GLaDOSDan/subscriptions","organizations_url":"https://api.github.com/users/GLaDOSDan/orgs","repos_url":"https://api.github.com/users/GLaDOSDan/repos","events_url":"https://api.github.com/users/GLaDOSDan/events{/privacy}","received_events_url":"https://api.github.com/users/GLaDOSDan/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-12T11:09:52Z","updated_at":"2015-11-14T18:48:11Z","closed_at":"2015-11-14T18:48:11Z","body":"At the moment the API returns HTML formatted exceptions, it should return JSON."}}