mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Added involid cert debug info to log file
This commit is contained in:
parent
aa54e3c84f
commit
fe555837a0
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ module Depp
|
||||||
|
|
||||||
rescue OpenSSL::SSL::SSLError => e
|
rescue OpenSSL::SSL::SSLError => e
|
||||||
Rails.logger.error "INVALID CERT: #{e}"
|
Rails.logger.error "INVALID CERT: #{e}"
|
||||||
|
Rails.logger.error "INVALID CERT DEBUG INFO: epp_hostname: #{ENV['epp_hostname']}," \
|
||||||
|
"port: #{ENV['epp_port']}, cert_path: #{ENV['cert_path']}, key_path: #{ENV['key_path']}"
|
||||||
errors.add(:base, :invalid_cert)
|
errors.add(:base, :invalid_cert)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue