}
catch (e) {
var errorStr = cloudeebus.getError(e);
- alert("Exception creating agent wrapper " + agent.objectPath + " : " + errorStr);
+ cloudeebus.log("Exception creating agent wrapper " + agent.objectPath + " : " + errorStr);
resolver.reject(errorStr, true);
return;
}
}
catch (e) {
var errorStr = cloudeebus.getError(e);
- alert("Exception removing wrapper of agent " + rmAgent.objectPath + " : " + errorStr);
+ cloudeebus.log("Exception removing wrapper of agent " + rmAgent.objectPath + " : " + errorStr);
errorCB(errorStr);
}