diff --git a/client.js b/client.js index a448f2b3..efac4ef3 100644 --- a/client.js +++ b/client.js @@ -481,7 +481,12 @@ CloudClient.Util = (function(){ this.getCurrentFile = function(){ var lCurrent = lThis.getByClass(CloudCommander.CURRENT_FILE)[0]; if(!lCurrent) - console.log('Error: Can not find Current File'); + this.addCloudStatus({ + code : -1, + msg : 'Error: can not find ' + + 'CurrentFile ' + + 'in getCurrentFile' + }); return lCurrent; };