I am working in a rails app.
I can able to see the below screen in my production server whenever there is an error.
(Text : We’re sorry, but something went wrong.)
How do i enable error reporting in my server to see the actual error?
Do i have to do any config change in Rails app or enable error reporting in my server.

Note : My server is Ngnix.
If you add this to your
config/environments/production.rb:You will see the same errors as in development, but it will also disable the caching for the production app etc.
I would rather suggest you look into
/log/production.log. The same errors are posted there as are normally shown on screen.