lib/gitlab_exporter/memstats.rb in gitlab-exporter-8.0.0 vs lib/gitlab_exporter/memstats.rb in gitlab-exporter-9.0.0
- old
+ new
@@ -85,10 +85,10 @@
else
break
end
end
end
- rescue => e
+ rescue StandardError => e
puts "Error: #{e}"
@valid = false
create_memstats_not_available(totals)
end
end