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

View differences:

src/vmm_mad/remotes/vcenter/reconfigure
43 43
    vm.regenerate_context
44 44

  
45 45
rescue Exception => e
46
    STDERR.puts "Reconfiguration of VM #{vm_ref} on vCenter cluster "\
47
                "#{vc_cluster_name} failed due to "\
48
                "\"#{e.message}\"\n#{e.backtrace}"
46
    message = "Reconfiguration 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