500 error page not showing on Heroku

眉间皱痕 提交于 2019-12-01 21:04:59

The heroku's custom error page isn't displayed whenever an exception occurs in your application.

Your application is responsible for displaying this kind of pages.
See using exceptions_app with rails 3.2.

The error page happens when an error occurs with heroku.

The devcenter page about error pages says, about testing your error page :

To test your error page, you can push a bad deploy such as putting a syntax error into a key configuration file, or by creating a path on your app that sleeps for 35 seconds (thereby triggering the error H12 Request Timeout.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!