{"action":"created","issue":{"url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/147","labels_url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/147/comments","events_url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/147/events","html_url":"https://github.com/sadovnychyi/autocomplete-python/issues/147","id":123079887,"number":147,"title":"Exceptions originating from completion.py are silently eaten","user":{"login":"dessant","id":7513068,"avatar_url":"https://avatars.githubusercontent.com/u/7513068?v=3","gravatar_id":"","url":"https://api.github.com/users/dessant","html_url":"https://github.com/dessant","followers_url":"https://api.github.com/users/dessant/followers","following_url":"https://api.github.com/users/dessant/following{/other_user}","gists_url":"https://api.github.com/users/dessant/gists{/gist_id}","starred_url":"https://api.github.com/users/dessant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dessant/subscriptions","organizations_url":"https://api.github.com/users/dessant/orgs","repos_url":"https://api.github.com/users/dessant/repos","events_url":"https://api.github.com/users/dessant/events{/privacy}","received_events_url":"https://api.github.com/users/dessant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-19T11:10:45Z","updated_at":"2015-12-19T11:24:00Z","closed_at":null,"body":"I have added `raise Exception()` in [_deserialize](https://github.com/sadovnychyi/autocomplete-python/blob/c7cf07c2bbbdcd19380a6fe9ddd6afd60b1d9044/lib/completion.py#L200), but no popup is shown with the exception. I've also activated outputting provider errors (but exceptions originating from completion.py should be visible even with this seeting turned off) and the error is still not shown nor logged in debug logs.\r\n\r\nWith the above change the queue is just filled up and the process keeps being restarted. The correct behavior would be to show an error popup so users can use the ui provided by atom to submit and auto fill bug reports, otherwise issues are obscured and become harder to identify."},"comment":{"url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/comments/165977496","html_url":"https://github.com/sadovnychyi/autocomplete-python/issues/147#issuecomment-165977496","issue_url":"https://api.github.com/repos/sadovnychyi/autocomplete-python/issues/147","id":165977496,"user":{"login":"sadovnychyi","id":193864,"avatar_url":"https://avatars.githubusercontent.com/u/193864?v=3","gravatar_id":"","url":"https://api.github.com/users/sadovnychyi","html_url":"https://github.com/sadovnychyi","followers_url":"https://api.github.com/users/sadovnychyi/followers","following_url":"https://api.github.com/users/sadovnychyi/following{/other_user}","gists_url":"https://api.github.com/users/sadovnychyi/gists{/gist_id}","starred_url":"https://api.github.com/users/sadovnychyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sadovnychyi/subscriptions","organizations_url":"https://api.github.com/users/sadovnychyi/orgs","repos_url":"https://api.github.com/users/sadovnychyi/repos","events_url":"https://api.github.com/users/sadovnychyi/events{/privacy}","received_events_url":"https://api.github.com/users/sadovnychyi/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T11:24:00Z","updated_at":"2015-12-19T11:24:00Z","body":"Most of python level exceptions are originated from Jedi, and I don't really want them to be reported here.  That's why they are hidden under a setting by default.\r\n\r\nThey all catched in a single place and written into stderr [here](https://github.com/sadovnychyi/autocomplete-python/blob/c7cf07c2bbbdcd19380a6fe9ddd6afd60b1d9044/lib/completion.py#L264-L267).\r\n\r\nThen, [here](https://github.com/sadovnychyi/autocomplete-python/blob/master/lib/provider.coffee#L48-L56), we catch it on Atom level, and, if setting is enabled – we output an error message. They should be **always** written into debug logs as you can see there.\r\n\r\nWell, it supposed to be this way. I just tested it and can confirm that it is broken. I'm not sure if its something from my side or from Atom's BufferedProcess. But the stderr callback isn't called for some reason."}}