diff --git a/app/utils/sendStatusOtherSystem.js b/app/utils/sendStatusOtherSystem.js index d15ac73..afcaea7 100644 --- a/app/utils/sendStatusOtherSystem.js +++ b/app/utils/sendStatusOtherSystem.js @@ -908,7 +908,12 @@ const checkMultipleRequest = async () => { if (error) { reject(error); } else { - resolve(stdout); + if (stdout !== "") { + resolve(stdout); + } else { + resolve(stderr); + } + } }); });