rails/rails — pull request #8785 by goshakkk (2013-01-06 22:57:43+00:00)
Title: Refactor DebugExceptions

* make use of `#try` instead of a conditional with `#respond_to?`
* utilize `#presence` to simplify finding the trace
* combine two conditionals into one