mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
fix(main) sendError
This commit is contained in:
parent
8558a154c0
commit
ad34db0221
1 changed files with 3 additions and 1 deletions
|
|
@ -328,7 +328,9 @@
|
|||
if(lRet){
|
||||
var p = pParams;
|
||||
p.status = FILE_NOT_FOUND;
|
||||
p.data = p.data || pError.toString();
|
||||
if (!p.data && pError)
|
||||
p.data = pError.toString();
|
||||
|
||||
sendResponse(p);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue