Skip to content

504 - Gateway timeout not showing custom error page #95

Description

@xSlok

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions