How to enable error reporting when running a rails app in production mode?

Viewed 4065

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.

enter image description here

Note : My server is Ngnix.

2 Answers
Related