{"action":"opened","issue":{"url":"https://api.github.com/repos/waveform80/picamera/issues/517","repository_url":"https://api.github.com/repos/waveform80/picamera","labels_url":"https://api.github.com/repos/waveform80/picamera/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/waveform80/picamera/issues/517/comments","events_url":"https://api.github.com/repos/waveform80/picamera/issues/517/events","html_url":"https://github.com/waveform80/picamera/issues/517","id":369741398,"node_id":"MDU6SXNzdWUzNjk3NDEzOTg=","number":517,"title":"Is there any way to determine if capture_sequence has failed?","user":{"login":"RobertLucian","id":26958764,"node_id":"MDQ6VXNlcjI2OTU4NzY0","avatar_url":"https://avatars3.githubusercontent.com/u/26958764?v=4","gravatar_id":"","url":"https://api.github.com/users/RobertLucian","html_url":"https://github.com/RobertLucian","followers_url":"https://api.github.com/users/RobertLucian/followers","following_url":"https://api.github.com/users/RobertLucian/following{/other_user}","gists_url":"https://api.github.com/users/RobertLucian/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertLucian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertLucian/subscriptions","organizations_url":"https://api.github.com/users/RobertLucian/orgs","repos_url":"https://api.github.com/users/RobertLucian/repos","events_url":"https://api.github.com/users/RobertLucian/events{/privacy}","received_events_url":"https://api.github.com/users/RobertLucian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T23:29:24Z","updated_at":"2018-10-12T23:29:24Z","closed_at":null,"author_association":"NONE","body":"I wrapped `capture_sequence` call around a `try/except` block thinking that it'll throw an exception if the PiCamera is unreachable. It seems like it just stucks in it without ever returning and it doesn't throw any exception.\r\n\r\nIs there any workaround to determine if the camera is reachable or if `capture_sequence` method fails? Excluding that of seeing if the constructor of PiCamera class raises an exception or not.\r\n\r\nThanks Dave!"}}
{"actor":{"display_login":"RobertLucian"}}