]> git.openstreetmap.org Git - chef.git/commitdiff
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 608d9e7af2b7a4a4e55fcba1119866f56ef637b1..d292b562250e476f6218b049ebb7b3ab5c2db5f3 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