From cbfe9af2e38629a85c0bfeba4ad5fcc0403a4808 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 01:31:40 +0800 Subject: [PATCH] init --- routes/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/index.js b/routes/index.js index 313a9e7..4de0d1f 100644 --- a/routes/index.js +++ b/routes/index.js @@ -10,6 +10,7 @@ router.post('/server', function(req, res, next) { // 输出当前目录(不一定是代码所在的目录)下的文件和文件夹 exec('updateRisk RiskCloudMock', (err, stdout, stderr) => { if(err) { + console.log(err) res.json({message:'自动部署服务端失败'}) return; }