From 565317df0b83577d8118b558be834f0fede4c409 Mon Sep 17 00:00:00 2001 From: quidl <43738052+quidl@users.noreply.github.com> Date: Mon, 9 Sep 2024 15:33:15 +0700 Subject: [PATCH] Fix bug --- src/service/agent.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/service/agent.js b/src/service/agent.js index ebea536..e1c2834 100644 --- a/src/service/agent.js +++ b/src/service/agent.js @@ -409,19 +409,19 @@ class Agent { return; } - console.log('QQQQQQ', parameter); - console.log('QQQQQQ0', requestJobResponse.body.parameter); + logger.info(`QQQQQQ0: ${parameter}`); + logger.info(`QQQQQQ1: ${requestJobResponse.body.parameter}`); if (parameter) { parameter = { ...requestJobResponse.body.parameter, ...parameter } - console.log('QQQQQQ1', parameter); + logger.info(`QQQQQQ2: ${parameter}`); } else { parameter = requestJobResponse.body.parameter - console.log('QQQQQQ2', parameter); + logger.info(`QQQQQQ3: ${parameter}`); } projectId = requestJobResponse.body.testProject.projectId; - console.log('QQQQQQ3', projectId); + logger.info(`QQQQQQ4: ${projectId}`); } - console.log('QQQQQQ4', parameter); + logger.info(`QQQQQQ5: ${parameter}`); const jobApiKey = parameter.environmentVariables .find((item) => item.name === jobApiKeyEnv);