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

View differences:

src/vmm_mad/remotes/vcenter/save
62 62
    vm.suspend
63 63

  
64 64
rescue Exception => e
65
    STDERR.puts "Save of VM #{vm_ref} on vCenter cluster "\
66
                "#{vc_cluster_name} failed due to "\
67
                "\"#{e.message}\"\n#{e.backtrace}"
65
    message = "Save of VM #{vm_ref} on vCenter cluster "\
66
              "#{vc_cluster_name} failed due to "\
67
              "\"#{e.message}\"\n#{e.backtrace}"
68
    STDERR.puts error_message(message)
68 69
    exit -1
69 70
ensure
70 71
    vi_client.close_connection if vi_client

Also available in: Unified diff