{"action":"created","issue":{"url":"https://api.github.com/repos/wgoulet/CTPyClient/issues/4","labels_url":"https://api.github.com/repos/wgoulet/CTPyClient/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/wgoulet/CTPyClient/issues/4/comments","events_url":"https://api.github.com/repos/wgoulet/CTPyClient/issues/4/events","html_url":"https://github.com/wgoulet/CTPyClient/issues/4","id":56455910,"number":4,"title":"monitor.py regression","user":{"login":"sethroot","id":307254,"avatar_url":"https://avatars.githubusercontent.com/u/307254?v=3","gravatar_id":"","url":"https://api.github.com/users/sethroot","html_url":"https://github.com/sethroot","followers_url":"https://api.github.com/users/sethroot/followers","following_url":"https://api.github.com/users/sethroot/following{/other_user}","gists_url":"https://api.github.com/users/sethroot/gists{/gist_id}","starred_url":"https://api.github.com/users/sethroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethroot/subscriptions","organizations_url":"https://api.github.com/users/sethroot/orgs","repos_url":"https://api.github.com/users/sethroot/repos","events_url":"https://api.github.com/users/sethroot/events{/privacy}","received_events_url":"https://api.github.com/users/sethroot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-03T23:32:18Z","updated_at":"2015-02-04T15:52:18Z","closed_at":"2015-02-04T09:50:06Z","body":"the code that was added to prevent a name error crash in this commit: f42cdd001f5221802d27217fed909084084dd3ee\r\n\r\nhas been removed in this commit: 8e5cc1da5a659231efa088694f77f94ffdf7ab35\r\n\r\nso now monitor.py is crashing again when crypto.load_certificate() returns None"},"comment":{"url":"https://api.github.com/repos/wgoulet/CTPyClient/issues/comments/72879192","html_url":"https://github.com/wgoulet/CTPyClient/issues/4#issuecomment-72879192","issue_url":"https://api.github.com/repos/wgoulet/CTPyClient/issues/4","id":72879192,"user":{"login":"sethroot","id":307254,"avatar_url":"https://avatars.githubusercontent.com/u/307254?v=3","gravatar_id":"","url":"https://api.github.com/users/sethroot","html_url":"https://github.com/sethroot","followers_url":"https://api.github.com/users/sethroot/followers","following_url":"https://api.github.com/users/sethroot/following{/other_user}","gists_url":"https://api.github.com/users/sethroot/gists{/gist_id}","starred_url":"https://api.github.com/users/sethroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethroot/subscriptions","organizations_url":"https://api.github.com/users/sethroot/orgs","repos_url":"https://api.github.com/users/sethroot/repos","events_url":"https://api.github.com/users/sethroot/events{/privacy}","received_events_url":"https://api.github.com/users/sethroot/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T15:52:18Z","updated_at":"2015-02-04T15:52:18Z","body":"You still need to add in an initialization of the subject var or else you will get \"UnboundLocalError: local variable 'subject' referenced before assignment\" in the except block\r\n\r\nsee: https://github.com/wgoulet/CTPyClient/blob/f42cdd001f5221802d27217fed909084084dd3ee/monitor.py#L108"}}