resolved bug with file not found error, sending to client

This commit is contained in:
coderaiser 2012-07-04 11:15:13 -04:00
parent 9e169c70cd
commit 85691e2c57

View file

@ -629,7 +629,7 @@ CloudServer.getReadFileFunc = function(pName){
if(pError.path!=='passwd.json')
{
console.log(pError);
CloudServer.sendResponse('OK',pError.toString());
CloudServer.sendResponse('OK',pError.toString(),pName);
}else{
CloudServer.sendResponse('OK','passwd.json');
}