mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Story#105846070 - save error to json obj
This commit is contained in:
parent
05c4aaf3f1
commit
9bc34ed9ef
2 changed files with 5 additions and 1 deletions
|
@ -44,7 +44,8 @@ class Registrant::DomainsController < RegistrantController
|
|||
begin
|
||||
BusinessRegistryCache.fetch_associated_domains ident, ident_cc
|
||||
rescue Soap::Arireg::NotAvailableError => error
|
||||
flash[:notice] = I18n.t(error.message[:message])
|
||||
flash[:notice] = I18n.t(error.json[:message])
|
||||
Rails.error.fatal("[EXCEPTION] #{error.to_s}")
|
||||
current_user.domains
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue