From: Frederic PAUT Date: Thu, 27 Jun 2013 14:20:47 +0000 (+0200) Subject: Removing alert() and using cloudeebus.log() X-Git-Tag: upstream/0.6.1~39^2~1 X-Git-Url: http://review.tizen.org/git/?p=contrib%2Fcloudeebus.git;a=commitdiff_plain;h=cc2fb13ff58f2fe855764c145a06dbfe689935d9 Removing alert() and using cloudeebus.log() --- diff --git a/cloudeebus/cloudeebus.js b/cloudeebus/cloudeebus.js index d3fb087..25a9532 100644 --- 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); - alert("Exception creating agent wrapper " + agent.objectPath + " : " + errorStr); + cloudeebus.log("Exception creating agent wrapper " + agent.objectPath + " : " + errorStr); resolver.reject(errorStr, true); return; } @@ -451,7 +451,7 @@ cloudeebus.Service.prototype.delAgent = function(rmAgent, successCB, errorCB) { } 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); }