{"action":"closed","issue":{"url":"https://api.github.com/repos/petli/codplayer/issues/32","labels_url":"https://api.github.com/repos/petli/codplayer/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/petli/codplayer/issues/32/comments","events_url":"https://api.github.com/repos/petli/codplayer/issues/32/events","html_url":"https://github.com/petli/codplayer/issues/32","id":45411513,"number":32,"title":"Bad error handling when disc can't be read","user":{"login":"petli","id":3885477,"avatar_url":"https://avatars.githubusercontent.com/u/3885477?v=3","gravatar_id":"","url":"https://api.github.com/users/petli","html_url":"https://github.com/petli","followers_url":"https://api.github.com/users/petli/followers","following_url":"https://api.github.com/users/petli/following{/other_user}","gists_url":"https://api.github.com/users/petli/gists{/gist_id}","starred_url":"https://api.github.com/users/petli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petli/subscriptions","organizations_url":"https://api.github.com/users/petli/orgs","repos_url":"https://api.github.com/users/petli/repos","events_url":"https://api.github.com/users/petli/events{/privacy}","received_events_url":"https://api.github.com/users/petli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/petli/codplayer/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-10-09T20:12:34Z","updated_at":"2015-01-05T18:11:27Z","closed_at":"2015-01-05T18:11:27Z","body":"```\r\ncodplayerd: error: unexpected error: Traceback (most recent call last):\r\n  File \"/home/petli/cod/local/lib/python2.7/site-packages/codplayer/player.py\", line 190, in handle_command\r\n    result = cmd_func(args)\r\n  File \"/home/petli/cod/local/lib/python2.7/site-packages/codplayer/player.py\", line 237, in cmd_disc\r\n    disc = ripper.read_disc()\r\n  File \"/home/petli/cod/local/lib/python2.7/site-packages/codplayer/rip.py\", line 61, in read_disc\r\n    raise CommandError('error reading disc in {0}: {1}'.format(\r\nNameError: global name 'CommandError' is not defined\r\n```"}}