change test mode directly

This commit is contained in:
oleghasjanov 2024-11-25 12:40:09 +02:00
parent cded813955
commit 95f5acb2b0
2 changed files with 4 additions and 3 deletions

View file

@ -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