From a6fdb5289a939ed24c89bac150e0cdd8ba1e985e Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Mon, 25 Jan 2016 14:55:39 +0200 Subject: [PATCH] Story#105846070 - save error to json obj --- app/controllers/registrant/domains_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/registrant/domains_controller.rb b/app/controllers/registrant/domains_controller.rb index c2c406de7..cc6f8742d 100644 --- a/app/controllers/registrant/domains_controller.rb +++ b/app/controllers/registrant/domains_controller.rb @@ -45,7 +45,7 @@ class Registrant::DomainsController < RegistrantController BusinessRegistryCache.fetch_associated_domains ident, ident_cc rescue Soap::Arireg::NotAvailableError => error flash[:notice] = I18n.t(error.json[:message]) - Rails.error.fatal("[EXCEPTION] #{error.to_s}") + Rails.logger.error.fatal("[EXCEPTION] #{error.to_s}") current_user.domains end end