1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Improve error message in vcenter migrate

This commit is contained in:
Tino Vazquez 2019-02-04 16:56:24 +01:00
parent 0059c29eb6
commit 1965ff79a0
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -55,8 +55,8 @@ begin
VCenterDriver::VirtualMachine.migrate_routine(vm_id, src_host, dst_host)
end
rescue StandardError => e
message = "Cannot migrate for VM #{vm_id}"\
'failed due to '\
message = "Cannot migrate for VM #{vm_id}. "\
'Failed due to '\
"\"#{e.message}\"."
OpenNebula.log_error(message)