@nsshunt/stsrunnerframework 1.0.99 → 1.0.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2260,11 +2260,14 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
2260
2260
  runnerEx.publishInstrumentController.EndPublish();
2261
2261
  }
2262
2262
  if (runnerEx.state !== IRunnerState.terminated) {
2263
+ __privateGet(this, _debug2).call(this, chalk.grey(`Archive runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2263
2264
  const runner = this.CreateRunnerCopy(runnerEx);
2264
2265
  __privateGet(this, _archiveList).push(runner);
2265
2266
  if (__privateGet(this, _archiveList).length > __privateGet(this, _options2).maxArchiveListLength) {
2266
2267
  __privateGet(this, _archiveList).shift();
2267
2268
  }
2269
+ } else {
2270
+ __privateGet(this, _debug2).call(this, chalk.grey(`Runner has been terminated and will not be archived, runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2268
2271
  }
2269
2272
  delete workerEx.runnersEx[removeList[i].runnerId];
2270
2273
  }