Better error message
This commit is contained in:
parent
d43b948482
commit
4d054189c7
@ -76,7 +76,7 @@ class copy_vm_xcp(backup_generic):
|
|||||||
try:
|
try:
|
||||||
storage = session.xenapi.SR.get_by_name_label(storage_name)[0]
|
storage = session.xenapi.SR.get_by_name_label(storage_name)[0]
|
||||||
except IndexError,error:
|
except IndexError,error:
|
||||||
result = (1,"error get VM opaqueref %s"%(error))
|
result = (1,"error get SR opaqueref %s"%(error))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user