{"action":"created","issue":{"url":"https://api.github.com/repos/abingham/emacs-ycmd/issues/245","labels_url":"https://api.github.com/repos/abingham/emacs-ycmd/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/abingham/emacs-ycmd/issues/245/comments","events_url":"https://api.github.com/repos/abingham/emacs-ycmd/issues/245/events","html_url":"https://github.com/abingham/emacs-ycmd/pull/245","id":124119549,"number":245,"title":"Properly updating mode-line on server error.","user":{"login":"abingham","id":79224,"avatar_url":"https://avatars.githubusercontent.com/u/79224?v=3","gravatar_id":"","url":"https://api.github.com/users/abingham","html_url":"https://github.com/abingham","followers_url":"https://api.github.com/users/abingham/followers","following_url":"https://api.github.com/users/abingham/following{/other_user}","gists_url":"https://api.github.com/users/abingham/gists{/gist_id}","starred_url":"https://api.github.com/users/abingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abingham/subscriptions","organizations_url":"https://api.github.com/users/abingham/orgs","repos_url":"https://api.github.com/users/abingham/repos","events_url":"https://api.github.com/users/abingham/events{/privacy}","received_events_url":"https://api.github.com/users/abingham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-28T20:25:50Z","updated_at":"2015-12-28T22:03:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/abingham/emacs-ycmd/pulls/245","html_url":"https://github.com/abingham/emacs-ycmd/pull/245","diff_url":"https://github.com/abingham/emacs-ycmd/pull/245.diff","patch_url":"https://github.com/abingham/emacs-ycmd/pull/245.patch"},"body":"This updates the error handling in `ycmd--start-server` so that it correctly sets the current status of the buffer that's being parsed. Before, we weren't event setting the \"errored\" flag because we exited the function. And even if we had been setting the flag, we've have been setting it on the wrong buffer."},"comment":{"url":"https://api.github.com/repos/abingham/emacs-ycmd/issues/comments/167665511","html_url":"https://github.com/abingham/emacs-ycmd/pull/245#issuecomment-167665511","issue_url":"https://api.github.com/repos/abingham/emacs-ycmd/issues/245","id":167665511,"user":{"login":"ptrv","id":49775,"avatar_url":"https://avatars.githubusercontent.com/u/49775?v=3","gravatar_id":"","url":"https://api.github.com/users/ptrv","html_url":"https://github.com/ptrv","followers_url":"https://api.github.com/users/ptrv/followers","following_url":"https://api.github.com/users/ptrv/following{/other_user}","gists_url":"https://api.github.com/users/ptrv/gists{/gist_id}","starred_url":"https://api.github.com/users/ptrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptrv/subscriptions","organizations_url":"https://api.github.com/users/ptrv/orgs","repos_url":"https://api.github.com/users/ptrv/repos","events_url":"https://api.github.com/users/ptrv/events{/privacy}","received_events_url":"https://api.github.com/users/ptrv/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T22:03:59Z","updated_at":"2015-12-28T22:03:59Z","body":"I noticed the bug too. Looks good.\r\nI am only wondering though whether all `ycmd-mode` enabled buffers should be set to `errored` when we cannot connect to the server."}}