{"action":"created","issue":{"url":"https://api.github.com/repos/framework-one/fw1-clj/issues/36","repository_url":"https://api.github.com/repos/framework-one/fw1-clj","labels_url":"https://api.github.com/repos/framework-one/fw1-clj/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/framework-one/fw1-clj/issues/36/comments","events_url":"https://api.github.com/repos/framework-one/fw1-clj/issues/36/events","html_url":"https://github.com/framework-one/fw1-clj/issues/36","id":145550580,"number":36,"title":"Missing view should return 404","user":{"login":"seancorfield","id":43875,"avatar_url":"https://avatars.githubusercontent.com/u/43875?v=3","gravatar_id":"","url":"https://api.github.com/users/seancorfield","html_url":"https://github.com/seancorfield","followers_url":"https://api.github.com/users/seancorfield/followers","following_url":"https://api.github.com/users/seancorfield/following{/other_user}","gists_url":"https://api.github.com/users/seancorfield/gists{/gist_id}","starred_url":"https://api.github.com/users/seancorfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancorfield/subscriptions","organizations_url":"https://api.github.com/users/seancorfield/orgs","repos_url":"https://api.github.com/users/seancorfield/repos","events_url":"https://api.github.com/users/seancorfield/events{/privacy}","received_events_url":"https://api.github.com/users/seancorfield/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/framework-one/fw1-clj/labels/bug","name":"bug","color":"d4c5f9"},{"url":"https://api.github.com/repos/framework-one/fw1-clj/labels/in%20progress","name":"in progress","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"seancorfield","id":43875,"avatar_url":"https://avatars.githubusercontent.com/u/43875?v=3","gravatar_id":"","url":"https://api.github.com/users/seancorfield","html_url":"https://github.com/seancorfield","followers_url":"https://api.github.com/users/seancorfield/followers","following_url":"https://api.github.com/users/seancorfield/following{/other_user}","gists_url":"https://api.github.com/users/seancorfield/gists{/gist_id}","starred_url":"https://api.github.com/users/seancorfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancorfield/subscriptions","organizations_url":"https://api.github.com/users/seancorfield/orgs","repos_url":"https://api.github.com/users/seancorfield/repos","events_url":"https://api.github.com/users/seancorfield/events{/privacy}","received_events_url":"https://api.github.com/users/seancorfield/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-03T23:06:53Z","updated_at":"2016-04-04T05:33:24Z","closed_at":null,"body":"Currently, a missing view causes an exception and a 500 error. It should produce a 404 Not Found instead."},"comment":{"url":"https://api.github.com/repos/framework-one/fw1-clj/issues/comments/205143992","html_url":"https://github.com/framework-one/fw1-clj/issues/36#issuecomment-205143992","issue_url":"https://api.github.com/repos/framework-one/fw1-clj/issues/36","id":205143992,"user":{"login":"seancorfield","id":43875,"avatar_url":"https://avatars.githubusercontent.com/u/43875?v=3","gravatar_id":"","url":"https://api.github.com/users/seancorfield","html_url":"https://github.com/seancorfield","followers_url":"https://api.github.com/users/seancorfield/followers","following_url":"https://api.github.com/users/seancorfield/following{/other_user}","gists_url":"https://api.github.com/users/seancorfield/gists{/gist_id}","starred_url":"https://api.github.com/users/seancorfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancorfield/subscriptions","organizations_url":"https://api.github.com/users/seancorfield/orgs","repos_url":"https://api.github.com/users/seancorfield/repos","events_url":"https://api.github.com/users/seancorfield/events{/privacy}","received_events_url":"https://api.github.com/users/seancorfield/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T05:33:23Z","updated_at":"2016-04-04T05:33:23Z","body":"I actually suspect Selmer changed to provide an automatic \"template not found\" render along with the exception. The logic in FW/1 was as if Selmer should return nil for a missing template so I may have had things set up that way once before. Either way, adding a call to `resource-path` to verify presence of the view first was an easy fix."}}