hi,
i'm struggeling with a strange problem.
i try to get all vm's in vcenter(s) via sdk like this:
after that i try to get the id and name like this (f.e. to write it to the log as an example):
System.log("--->>> DEBUG - ie '" + vm.id + "'");
System.log("--->>> DEBUG - name '" + vm.name + "'");
Use try/catch...
This will allow your code to continue processing and simply log the errors rather than throwing an exception.
try{
// your code here....
}catch(err){
System.log("Error: "+err);
}
Use try/catch...
This will allow your code to continue processing and simply log the errors rather than throwing an exception.
try{
// your code here....
}catch(err){
System.log("Error: "+err);
}
hi burke,
just tried - 3 minutes ago - works perfekt !!
thanks, chris