Skip to content

Commit

Permalink
M #-: General Exception shouldn't be caught
Browse files Browse the repository at this point in the history
  • Loading branch information
tinova committed Nov 18, 2019
1 parent 1779e15 commit 6cd81d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmm_mad/remotes/lib/vcenter_driver/host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ def monitor_vms(host_id)
end

vm_info << "POLL=\"#{vm.info.gsub('"', "\\\"")}\"]"
rescue Exception => e
rescue StandardError => e
vm_info = error_monitoring(e, vm_ref, info)
end

Expand Down

0 comments on commit 6cd81d3

Please sign in to comment.