mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fixed bug which occurs when error reading directory happens
This commit is contained in:
parent
76ec2b3e3c
commit
bcc6df241a
1 changed files with 2 additions and 2 deletions
|
|
@ -292,7 +292,7 @@ CloudServer._controller=function(pReq, pRes)
|
|||
lName='.'+pathname;
|
||||
console.log('reading '+lName);
|
||||
|
||||
/* сохраняем указатель на responce и имя */
|
||||
/* сохраняем указатель на response и имя */
|
||||
CloudServer.Responses[lName]=pRes;
|
||||
|
||||
/* saving status OK for current file */
|
||||
|
|
@ -565,7 +565,7 @@ CloudServer._readDir=function (pError, pFiles)
|
|||
else
|
||||
{
|
||||
console.log(pError);
|
||||
CloudServer.sendResponse('OK',pError.toString());
|
||||
CloudServer.sendResponse('OK',pError.toString(), DirPath);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue