bin/check-nginx-status.rb in sensu-plugins-nginx-2.2.0 vs bin/check-nginx-status.rb in sensu-plugins-nginx-2.2.1
- old
+ new
@@ -106,10 +106,10 @@
connection.request(request)
end
end
return response
end
- rescue => e
+ rescue StandardError => e
unknown "Could not fetch Nginx status | #{e.message}"
end
end
#