mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Added test debugger for test signing
This commit is contained in:
parent
f146bca5c7
commit
0e3382f348
2 changed files with 4 additions and 1 deletions
|
@ -58,6 +58,9 @@ class Certificate < ActiveRecord::Base
|
|||
errors.add(:base, I18n.t('failed_to_create_certificate'))
|
||||
logger.error('FAILED TO CREATE CLIENT CERTIFICATE')
|
||||
logger.error(err)
|
||||
# rubocop:disable Rails/Output
|
||||
puts "Certificate sign issue: #{err.inspect}" if Rails.env.test?
|
||||
# rubocop:enable Rails/Output
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue