{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/5953","repository_url":"https://api.github.com/repos/elixir-lang/elixir","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5953/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5953/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5953/events","html_url":"https://github.com/elixir-lang/elixir/issues/5953","id":218488102,"number":5953,"title":"Suggestion: improve the error message for \"no process\"","user":{"login":"Trevoke","id":67913,"avatar_url":"https://avatars0.githubusercontent.com/u/67913?v=3","gravatar_id":"","url":"https://api.github.com/users/Trevoke","html_url":"https://github.com/Trevoke","followers_url":"https://api.github.com/users/Trevoke/followers","following_url":"https://api.github.com/users/Trevoke/following{/other_user}","gists_url":"https://api.github.com/users/Trevoke/gists{/gist_id}","starred_url":"https://api.github.com/users/Trevoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trevoke/subscriptions","organizations_url":"https://api.github.com/users/Trevoke/orgs","repos_url":"https://api.github.com/users/Trevoke/repos","events_url":"https://api.github.com/users/Trevoke/events{/privacy}","received_events_url":"https://api.github.com/users/Trevoke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-31T12:30:18Z","updated_at":"2017-03-31T12:35:22Z","closed_at":null,"body":"The error message in question is [this one](https://github.com/elixir-lang/elixir/blob/dca3df0c031918d822e6f59a8b43bc84fd642239/lib/elixir/lib/exception.ex#L243)\r\n\r\n```elixir\r\n  defp format_exit_reason(:noproc) do\r\n    \"no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started\"\r\n  end\r\n```\r\n\r\nThis error message took me on [quite a ride](https://elixirforum.com/t/exit-no-process-the-process-is-not-alive-or-theres-no-process-currently-associated-with-the-given-name-possibly-because-its-application-isnt-started/4368/7).\r\n\r\nThe fault ultimately of course lied with me, but I spent a very long time looking for applications that hadn't started, when in fact the problem was that the test ended and the test framework reaped the processes too fast, so my async call tried to call a process  that didn't exist anymore.\r\n\r\nI'm not sure what restrictions / guidelines there are around these error messages, which is why I'm not just starting with a PR, but I would suggest modifying the latter part of the string, maybe adding that the process may have also died before execution reached this point."},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/290700219","html_url":"https://github.com/elixir-lang/elixir/issues/5953#issuecomment-290700219","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/5953","id":290700219,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars3.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2017-03-31T12:35:22Z","updated_at":"2017-03-31T12:35:22Z","body":"I am not sure what we should change. The part you described is already covered in the error message: \"the process is not alive\". It means either the process didn't start or it started and it is already dead."}}
{"actor":{"display_login":"josevalim"}}