diff --git a/monitor.mjs b/monitor.mjs index c17afb0..cef4819 100644 --- a/monitor.mjs +++ b/monitor.mjs @@ -133,7 +133,7 @@ class Monitor { let logData = { "timestamp": common.getTimestamp(), "url": task.url, - "status": task.status + "status": taskRes.task.status }; common.saveLog(logFile, JSON.stringify(logData) + `\n`); }