When we get exception, we used to search in Google and most of the links will be from stackoverflow. Gem stack_rescue will find links from stack overflow automatically when exception occurs.
Add stack_rescue into your Gemfile
gem ‘stack_rescue’, group: :development
For more information see https://github.com/excid3/stack_rescue