{"action":"created","issue":{"url":"https://api.github.com/repos/richpeck/exception_handler/issues/62","repository_url":"https://api.github.com/repos/richpeck/exception_handler","labels_url":"https://api.github.com/repos/richpeck/exception_handler/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/richpeck/exception_handler/issues/62/comments","events_url":"https://api.github.com/repos/richpeck/exception_handler/issues/62/events","html_url":"https://github.com/richpeck/exception_handler/issues/62","id":307101807,"number":62,"title":"Ironically localhost:3000/404 still gives me the old error page; also, cant redirect 500 errors to new 404 page =[","user":{"login":"Conturbo","id":12160885,"avatar_url":"https://avatars0.githubusercontent.com/u/12160885?v=4","gravatar_id":"","url":"https://api.github.com/users/Conturbo","html_url":"https://github.com/Conturbo","followers_url":"https://api.github.com/users/Conturbo/followers","following_url":"https://api.github.com/users/Conturbo/following{/other_user}","gists_url":"https://api.github.com/users/Conturbo/gists{/gist_id}","starred_url":"https://api.github.com/users/Conturbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Conturbo/subscriptions","organizations_url":"https://api.github.com/users/Conturbo/orgs","repos_url":"https://api.github.com/users/Conturbo/repos","events_url":"https://api.github.com/users/Conturbo/events{/privacy}","received_events_url":"https://api.github.com/users/Conturbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-21T02:29:02Z","updated_at":"2018-03-21T15:06:44Z","closed_at":null,"author_association":"NONE","body":"localhost:3000/404 gives the standard error page. I've been struggling to change this in `routes.rb`, maybe someone can tell me what I'm doing wrong.\r\n<img width=\"1450\" alt=\"screen shot 2018-03-20 at 10 25 37 pm\" src=\"https://user-images.githubusercontent.com/12160885/37692266-e364bcf2-2c8d-11e8-95ea-43c738946c34.png\">\r\n\r\nEvery other page gives me my 404 as expected (i'm very pleased overall, besides the exception ive mentioned above):\r\n<img width=\"1428\" alt=\"screen shot 2018-03-20 at 10 26 12 pm\" src=\"https://user-images.githubusercontent.com/12160885/37692292-0643eb30-2c8e-11e8-94fe-67f2b026c1e9.png\">\r\n\r\nBut also, I don't get my new error page with 500 errors. I get the follow: \r\n<img width=\"1387\" alt=\"screen shot 2018-03-20 at 10 31 38 pm\" src=\"https://user-images.githubusercontent.com/12160885/37692405-ae51cbc6-2c8e-11e8-805f-04b390741d82.png\">\r\n\r\nHow can i make it so that 500 goes to the same page as 400?"},"comment":{"url":"https://api.github.com/repos/richpeck/exception_handler/issues/comments/374970704","html_url":"https://github.com/richpeck/exception_handler/issues/62#issuecomment-374970704","issue_url":"https://api.github.com/repos/richpeck/exception_handler/issues/62","id":374970704,"user":{"login":"richpeck","id":1104431,"avatar_url":"https://avatars2.githubusercontent.com/u/1104431?v=4","gravatar_id":"","url":"https://api.github.com/users/richpeck","html_url":"https://github.com/richpeck","followers_url":"https://api.github.com/users/richpeck/followers","following_url":"https://api.github.com/users/richpeck/following{/other_user}","gists_url":"https://api.github.com/users/richpeck/gists{/gist_id}","starred_url":"https://api.github.com/users/richpeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richpeck/subscriptions","organizations_url":"https://api.github.com/users/richpeck/orgs","repos_url":"https://api.github.com/users/richpeck/repos","events_url":"https://api.github.com/users/richpeck/events{/privacy}","received_events_url":"https://api.github.com/users/richpeck/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T15:06:44Z","updated_at":"2018-03-21T15:06:44Z","author_association":"OWNER","body":"That error you're seeing is basically the \"failsafe\" for Rails, meaning that it hit a 500 error, tried to show the \"exception\" page (provided by `ExceptionHandler`) and it failed again.\r\n\r\nThe issue is typically because you're trying to use exactly the same layout as your main app / 404 errors page (hence it will be using something like the same variables or similar). If this is the case, you need to limit any db calls when using the 500 error layout."}}
{"actor":{"display_login":"richpeck"}}