@alpic80/rivet-core 1.24.2-aidon.10 → 1.24.2-aidon.11

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.
@@ -6244,7 +6244,7 @@ var SubGraphNodeImpl = class extends NodeImpl {
6244
6244
  }
6245
6245
  return outputs;
6246
6246
  } catch (err) {
6247
- console.error(`Error Processing subgraph: ${getError(err).message}`);
6247
+ context.trace(`Error Processing subgraph: ${getError(err).message}`);
6248
6248
  if (!this.data.useErrorOutput) {
6249
6249
  throw err;
6250
6250
  }
@@ -15423,7 +15423,7 @@ var GraphProcessor = class _GraphProcessor {
15423
15423
  if (this.#running) {
15424
15424
  throw new Error("Cannot process graph while already processing");
15425
15425
  }
15426
- console.info(`Process graph called. Context:${context}, Inputs: ${JSON.stringify(inputs)}, Context Values: ${JSON.stringify(contextValues)}`);
15426
+ this.#emitTraceEvent(`Process graph called. Context:${JSON.stringify(context)}, Inputs: ${JSON.stringify(inputs)}, Context Values: ${JSON.stringify(contextValues)}`);
15427
15427
  this.#initProcessState();
15428
15428
  this.#context = context;
15429
15429
  this.#graphInputs = inputs;
@@ -15433,11 +15433,11 @@ var GraphProcessor = class _GraphProcessor {
15433
15433
  this.#emitter.emit("error", { error });
15434
15434
  });
15435
15435
  }
15436
- console.info(`Process graph calling loadProjectReferences`);
15436
+ this.#emitTraceEvent(`Process graph calling loadProjectReferences`);
15437
15437
  await this.#loadProjectReferences();
15438
- console.info(`Process graph called loadProjectReferences`);
15438
+ this.#emitTraceEvent(`Process graph called loadProjectReferences`);
15439
15439
  this.#preprocessGraph();
15440
- console.info(`Process graph called preprocessGraph`);
15440
+ this.#emitTraceEvent(`Process graph called preprocessGraph`);
15441
15441
  if (!this.#isSubProcessor) {
15442
15442
  await this.#emitter.emit("start", {
15443
15443
  contextValues: this.#contextValues,