Rescue all errors
authorTom Hughes <tom@compton.nu>
Fri, 26 Jan 2018 09:21:35 +0000 (09:21 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 26 Jan 2018 09:21:35 +0000 (09:21 +0000)
cookbooks/letsencrypt/files/default/bin/check-certificate

index 608d9e7..d292b56 100755 (executable)
@@ -31,6 +31,6 @@ begin
   end
 
   connection.finish
-rescue OpenSSL::SSL::SSLError => error
+rescue StandardError => error
   puts "Error connecting to #{domain}: #{error.message}"
 end