{"action":"opened","issue":{"url":"https://api.github.com/repos/aosdict/sentencecraft/issues/29","repository_url":"https://api.github.com/repos/aosdict/sentencecraft","labels_url":"https://api.github.com/repos/aosdict/sentencecraft/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/aosdict/sentencecraft/issues/29/comments","events_url":"https://api.github.com/repos/aosdict/sentencecraft/issues/29/events","html_url":"https://github.com/aosdict/sentencecraft/issues/29","id":151278340,"number":29,"title":"Clarify all try except blocks in the backend","user":{"login":"aosdict","id":8742183,"avatar_url":"https://avatars.githubusercontent.com/u/8742183?v=3","gravatar_id":"","url":"https://api.github.com/users/aosdict","html_url":"https://github.com/aosdict","followers_url":"https://api.github.com/users/aosdict/followers","following_url":"https://api.github.com/users/aosdict/following{/other_user}","gists_url":"https://api.github.com/users/aosdict/gists{/gist_id}","starred_url":"https://api.github.com/users/aosdict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aosdict/subscriptions","organizations_url":"https://api.github.com/users/aosdict/orgs","repos_url":"https://api.github.com/users/aosdict/repos","events_url":"https://api.github.com/users/aosdict/events{/privacy}","received_events_url":"https://api.github.com/users/aosdict/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aosdict/sentencecraft/labels/Backend","name":"Backend","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-27T01:45:11Z","updated_at":"2016-04-27T01:45:11Z","closed_at":null,"body":"There are several try...except statements in the backend code that do not specify the type of error that should be caught by the except statement. This is a bad practice in Python. We need to figure out which exception type is intended to be caught by the block (probably ValueError for all of them but I can't be sure) and narrow the except statement to catch only that type."}}