Prevent error when seeing an exception thrown by Rails.