Browse Source

Resolve bulkcreate debug

release_1.1.2
巴林闲侠 2 years ago
parent
commit
4d9787693f
  1. 5
      code/VideoAccess-VCMP/api/app/lib/controllers/status/index.js

5
code/VideoAccess-VCMP/api/app/lib/controllers/status/index.js

@ -215,6 +215,11 @@ async function resolveEdit (ctx) {
} catch (error) {
await transaction.rollback();
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`);
console.log('err.name', error.name);
console.log('err.message', error.message);
console.log('err.errors', error.errors);
ctx.status = 400;
ctx.body = {}
}

Loading…
Cancel
Save