Revision 1aaf04e4 src/vmm_mad/remotes/vcenter/reset

View differences:

src/vmm_mad/remotes/vcenter/reset
43 43
    vm.reset
44 44

  
45 45
rescue Exception => e
46
    STDERR.puts "Reset of VM #{vm_ref} on vCenter cluster "\
47
                "#{vc_cluster_name} failed due to "\
48
                "\"#{e.message}\"\n#{e.backtrace}"
46
    message = "Reset of VM #{vm_ref} on vCenter cluster "\
47
              "#{vc_cluster_name} failed due to "\
48
              "\"#{e.message}\"\n#{e.backtrace}"
49
    STDERR.puts error_message(message)
49 50
    exit -1
50 51
ensure
51 52
    vi_client.close_connection if vi_client

Also available in: Unified diff