@punks/backend-entity-manager 0.0.492 → 0.0.493

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.
package/dist/cjs/index.js CHANGED
@@ -3472,6 +3472,7 @@ class PipelineInstance {
3472
3472
  async executeStep(step, input, state) {
3473
3473
  const preconditionResult = await this.validateStepPrecondition(step, input, state);
3474
3474
  if (!preconditionResult.hasValidPrecondition) {
3475
+ this.logger.error(`[VALIDATION ERROR] | Step ${step.name} failed for invalid precondition`);
3475
3476
  return {
3476
3477
  operationResults: [],
3477
3478
  type: "error",
@@ -3524,7 +3525,7 @@ class PipelineInstance {
3524
3525
  };
3525
3526
  }
3526
3527
  catch (error) {
3527
- this.logger.exception(`Pipeline operation error -> operation:${operation.name}`, error, {
3528
+ this.logger.exception(`[OPERATION ERROR] -> operation:${operation.name}`, error, {
3528
3529
  input,
3529
3530
  });
3530
3531
  return {
@@ -35693,7 +35694,7 @@ class NestPipelineTemplate {
35693
35694
  };
35694
35695
  this.logger.debug(`[START] | ${this.metadata.name}`, this.processLogMetadata(logMetadata));
35695
35696
  if (!this.isAuthorized(data.context)) {
35696
- this.logger.debug(`[ERROR] | ${this.metadata.name} -> Unauthorized`, this.processLogMetadata(logMetadata));
35697
+ this.logger.debug(`[UNAUTHORIZED] | ${this.metadata.name} -> Unauthorized`, this.processLogMetadata(logMetadata));
35697
35698
  return {
35698
35699
  type: "error",
35699
35700
  errorType: exports.PipelineErrorType.Unauthorized,