Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

504 - Gateway timeout not showing custom error page #95

Open
xSlok opened this issue Sep 10, 2020 · 0 comments
Open

504 - Gateway timeout not showing custom error page #95

xSlok opened this issue Sep 10, 2020 · 0 comments

Comments

@xSlok
Copy link

xSlok commented Sep 10, 2020

Hello all,
I'm trying to use this gem on my rails project and it works nicely for other errors, but when a gateway timeout occurs, instead of showing my custom error page, the default "We're sorry, but something went wrong" page is shown.
my application.rb setting is like this:

  config.exception_handler = {
      dev: nil,
      exceptions: {
        :all => {
          layout: 'exception', # define layout
        },
        504 => {
          layout: 'exception',
        },
      },
    }

Am I missing something?
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant