mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
Story#105846070 - save error to json obj
This commit is contained in:
parent
9bc34ed9ef
commit
a6fdb5289a
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class Registrant::DomainsController < RegistrantController
|
||||||
BusinessRegistryCache.fetch_associated_domains ident, ident_cc
|
BusinessRegistryCache.fetch_associated_domains ident, ident_cc
|
||||||
rescue Soap::Arireg::NotAvailableError => error
|
rescue Soap::Arireg::NotAvailableError => error
|
||||||
flash[:notice] = I18n.t(error.json[:message])
|
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
|
current_user.domains
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue