I have a Ruby on Rails Spree trading application in which I have explicit stack traces included in production (for example, instead of the message “We're sorry but something is wrong”) there is a long stack trace with developer and user friendly unfriendly information).
I remember that I activated this to understand what went wrong in the factory, but now I want to turn it off again. Unfortunately, I cannot find and do not remember how to do this.
I hope someone tells me how to set up my application to redirect to standard 500 and 404 pages.
source
share