projects
/
contrib
/
cloudeebus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f5e67d3
)
Removing alert() and using cloudeebus.log()
author
Frederic PAUT
<frederic.paut@linux.intel.com>
Thu, 27 Jun 2013 14:20:47 +0000
(16:20 +0200)
committer
Frederic PAUT
<frederic.paut@linux.intel.com>
Thu, 27 Jun 2013 14:20:47 +0000
(16:20 +0200)
cloudeebus/cloudeebus.js
patch
|
blob
|
history
diff --git
a/cloudeebus/cloudeebus.js
b/cloudeebus/cloudeebus.js
index
d3fb087
..
25a9532
100644
(file)
--- a/
cloudeebus/cloudeebus.js
+++ b/
cloudeebus/cloudeebus.js
@@
-388,7
+388,7
@@
cloudeebus.Service.prototype.addAgent = function(agent) {
}
catch (e) {
var errorStr = cloudeebus.getError(e);
}
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;
}
resolver.reject(errorStr, true);
return;
}
@@
-451,7
+451,7
@@
cloudeebus.Service.prototype.delAgent = function(rmAgent, successCB, errorCB) {
}
catch (e) {
var errorStr = cloudeebus.getError(e);
}
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);
}
errorCB(errorStr);
}