Browse Source

fix: 增加错误日志打印

zhangweicheng 3 tháng trước cách đây
mục cha
commit
493724c7a7
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      modules/users/controllers/compilation_controller.js

+ 1 - 0
modules/users/controllers/compilation_controller.js

@@ -920,6 +920,7 @@ class CompilationController extends BaseController {
       );
       res.json({ error: 0, message: "复制成功", data: null });
     } catch (err) {
+      console.log(err);
       res.json({ error: 1, message: String(err), data: null });
     }
   }