1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-26 09:57:23 +03:00

M #-: General Exception shouldn't be caught

This commit is contained in:
Tino Vazquez 2019-11-18 16:13:26 +01:00
parent 1779e1576d
commit 6cd81d32ec
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -686,7 +686,7 @@ class ClusterComputeResource
end
vm_info << "POLL=\"#{vm.info.gsub('"', "\\\"")}\"]"
rescue Exception => e
rescue StandardError => e
vm_info = error_monitoring(e, vm_ref, info)
end