mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
fix: cloudcmd: server: rest: sendError
This commit is contained in:
parent
4f4725ac3c
commit
447d990f43
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ function rest({fs, config, moveFiles}, request, response) {
|
|||
return ponse.sendError(error, params);
|
||||
|
||||
if (error)
|
||||
return ponse.sendError(error.stack, params);
|
||||
return ponse.sendError(error, params);
|
||||
|
||||
ponse.send(data, params);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue