mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
change test mode directly
This commit is contained in:
parent
cded813955
commit
95f5acb2b0
2 changed files with 4 additions and 3 deletions
|
@ -24,8 +24,8 @@ module Contact::CompanyRegister
|
|||
return unless org?
|
||||
|
||||
company_register.simple_data(registration_number: ident)
|
||||
rescue CompanyRegister::NotAvailableError => e
|
||||
Rails.logger.info "ERROR HAPPENED: CompanyRegister::NotAvailableError #{e.message}"
|
||||
rescue CompanyRegister::NotAvailableError
|
||||
Rails.logger.info "ERROR HAPPENED: CompanyRegister::NotAvailableError"
|
||||
[]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue