-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
I'm having a weird issue where its forcing a redirect to "500 Internal Server Error" default page, instead of the exception_handler show action for the not found error. The views work in development, but they don't work in production. The gem is not forcing a redirect for some odd reason.
I placed the exception config in all environment.rb files to see if that was the problem.
config.exception_handler = {
dev: nil,
email: "email@mail.com",
exceptions: { :all => { layout: "exception"},
400 => { layout: "exception"},
500 => { layout: "exception"}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels