{"action":"created","issue":{"url":"https://api.github.com/repos/leafo/lapis/issues/429","repository_url":"https://api.github.com/repos/leafo/lapis","labels_url":"https://api.github.com/repos/leafo/lapis/issues/429/labels{/name}","comments_url":"https://api.github.com/repos/leafo/lapis/issues/429/comments","events_url":"https://api.github.com/repos/leafo/lapis/issues/429/events","html_url":"https://github.com/leafo/lapis/issues/429","id":147339687,"number":429,"title":"Error when app doesn't exist?","user":{"login":"Guard13007","id":15093567,"avatar_url":"https://avatars.githubusercontent.com/u/15093567?v=3","gravatar_id":"","url":"https://api.github.com/users/Guard13007","html_url":"https://github.com/Guard13007","followers_url":"https://api.github.com/users/Guard13007/followers","following_url":"https://api.github.com/users/Guard13007/following{/other_user}","gists_url":"https://api.github.com/users/Guard13007/gists{/gist_id}","starred_url":"https://api.github.com/users/Guard13007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Guard13007/subscriptions","organizations_url":"https://api.github.com/users/Guard13007/orgs","repos_url":"https://api.github.com/users/Guard13007/repos","events_url":"https://api.github.com/users/Guard13007/events{/privacy}","received_events_url":"https://api.github.com/users/Guard13007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-11T07:30:30Z","updated_at":"2016-04-11T21:38:22Z","closed_at":null,"body":"Can we please make Lapis error if you attempt to serve a non-existent app?\r\n\r\nI realize this is completely my own fault, but I set up everything.. except for forgetting to compile the moonscript files, and no errors. I try to connect, \"connection refused\", still no errors, I think my nginx config must be wrong, I start playing with it for hours trying to figure out why one app runs and another doesn't, and finally realize my mistake.\r\n\r\nI feel like this is the kind of noob mistake that should be caught..\r\n"},"comment":{"url":"https://api.github.com/repos/leafo/lapis/issues/comments/208573743","html_url":"https://github.com/leafo/lapis/issues/429#issuecomment-208573743","issue_url":"https://api.github.com/repos/leafo/lapis/issues/429","id":208573743,"user":{"login":"leafo","id":15198,"avatar_url":"https://avatars.githubusercontent.com/u/15198?v=3","gravatar_id":"","url":"https://api.github.com/users/leafo","html_url":"https://github.com/leafo","followers_url":"https://api.github.com/users/leafo/followers","following_url":"https://api.github.com/users/leafo/following{/other_user}","gists_url":"https://api.github.com/users/leafo/gists{/gist_id}","starred_url":"https://api.github.com/users/leafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafo/subscriptions","organizations_url":"https://api.github.com/users/leafo/orgs","repos_url":"https://api.github.com/users/leafo/repos","events_url":"https://api.github.com/users/leafo/events{/privacy}","received_events_url":"https://api.github.com/users/leafo/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T21:38:22Z","updated_at":"2016-04-11T21:38:22Z","body":"You're referring to this line? `require(\"lapis\").serve(\"app\")` in the nginx config that should error when `app` doesn't exist?\r\n\r\nIt should already error, but since it's not inside lapis yet it will be captured by nginx and be written to the notice log, along with showing nginx's default 500 error page"}}