From f1ad5a7961ac7f92238bb8ba1ff233fab1bb5c32 Mon Sep 17 00:00:00 2001 From: joseph le Date: Wed, 11 Oct 2023 15:43:39 +0700 Subject: [PATCH] Create function check status for other system --- app/utils/sendStatusOtherSystem.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/utils/sendStatusOtherSystem.js b/app/utils/sendStatusOtherSystem.js index 29dcc0b..cffbb99 100644 --- a/app/utils/sendStatusOtherSystem.js +++ b/app/utils/sendStatusOtherSystem.js @@ -930,6 +930,7 @@ const checkMultipleRequest = async () => { if (stdout !== "") { allResponse+=JSON.stringify(req.name+"\n"+stdout) + console.log(stdout) if(req.name==="Perthmint"){ if((stdout.toString().split("true").length-1)>1){ @@ -952,6 +953,7 @@ const checkMultipleRequest = async () => { } } else { + console.log(stderr) allResponse+=JSON.stringify(req.name+"\n"+stderr) report.push({ group: req.group,