@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.
@@ -2258,11 +2258,14 @@ class STSWorkerManager {
2258
2258
  runnerEx.publishInstrumentController.EndPublish();
2259
2259
  }
2260
2260
  if (runnerEx.state !== IRunnerState.terminated) {
2261
+ __privateGet(this, _debug2).call(this, chalk.grey(`Archive runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2261
2262
  const runner = this.CreateRunnerCopy(runnerEx);
2262
2263
  __privateGet(this, _archiveList).push(runner);
2263
2264
  if (__privateGet(this, _archiveList).length > __privateGet(this, _options2).maxArchiveListLength) {
2264
2265
  __privateGet(this, _archiveList).shift();
2265
2266
  }
2267
+ } else {
2268
+ __privateGet(this, _debug2).call(this, chalk.grey(`Runner has been terminated and will not be archived, runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2266
2269
  }
2267
2270
  delete workerEx.runnersEx[removeList[i].runnerId];
2268
2271
  }