Combine two conditionals into one.
We avoid to use of try, presence or any active support extension where is possible. This fall in cosmetic changes and we don't accept cosmetics changes.
The last change is valid.
refactor DebugExceptions by combining two conditionals into one
I thought it is encouraged to use as much of ActiveSupport extensions as possible. Thanks for pointing out it is not.
Reverted the first two changes.