print the task options in the logs

This commit is contained in:
Girish Ramakrishnan
2021-06-16 14:21:19 -07:00
parent fa81491bf3
commit ef04253288
+1 -1
View File
@@ -145,7 +145,7 @@ function startTask(id, options, callback) {
assert.strictEqual(typeof callback, 'function');
const logFile = options.logFile || `${paths.TASKS_LOG_DIR}/${id}.log`;
debug(`startTask - starting task ${id}. logs at ${logFile}`);
debug(`startTask - starting task ${id} with options ${JSON.stringify(options)}. logs at ${logFile}`);
let killTimerId = null, timedOut = false;