exe/cert_checker in cert_checker-0.1.1 vs exe/cert_checker in cert_checker-0.1.2
- old
+ new
@@ -35,8 +35,8 @@
status, host, issuer, expired, desc = CertChecker.check(host)
expired = expired.strftime('%F') if expired
desc = desc.to_s + ' days' if desc.to_s =~ /^\d+$/
puts format % [status, host, issuer, expired, desc]
rescue CertChecker::Error => e
- puts format % ['error', e.message]
+ puts format % ['error', host, e.message, nil, nil]
end
end