diff --git a/api/app/lib/controllers/employeeAssessment/index.js b/api/app/lib/controllers/employeeAssessment/index.js index b7f42bb..57dc2d8 100644 --- a/api/app/lib/controllers/employeeAssessment/index.js +++ b/api/app/lib/controllers/employeeAssessment/index.js @@ -33,7 +33,7 @@ async function getemployeeAssessmentList(ctx) { ctx.status = 200; ctx.body = rlst; } catch (err) { - ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); + ctx.fs.logger.error(`path: ${ctx.path}, error: ${err}`); ctx.status = 400; ctx.body = { message: err.message || '查询列表失败' } }