500 error page not showing on Heroku

后端 未结 1 2008
独厮守ぢ
独厮守ぢ 2021-01-20 13:14

I\'m trying to get a custom 500 error page to show on Heroku, running rails 3.2.11

I\'ve followed the steps at: https://devcenter.heroku.com/articles/error-pages

相关标签:
1条回答
  • 2021-01-20 13:34

    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.

    0 讨论(0)
提交回复
热议问题