@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/esm/index.js CHANGED
@@ -3457,6 +3457,7 @@ class PipelineInstance {
3457
3457
  async executeStep(step, input, state) {
3458
3458
  const preconditionResult = await this.validateStepPrecondition(step, input, state);
3459
3459
  if (!preconditionResult.hasValidPrecondition) {
3460
+ this.logger.error(`[VALIDATION ERROR] | Step ${step.name} failed for invalid precondition`);
3460
3461
  return {
3461
3462
  operationResults: [],
3462
3463
  type: "error",
@@ -3509,7 +3510,7 @@ class PipelineInstance {
3509
3510
  };
3510
3511
  }
3511
3512
  catch (error) {
3512
- this.logger.exception(`Pipeline operation error -> operation:${operation.name}`, error, {
3513
+ this.logger.exception(`[OPERATION ERROR] -> operation:${operation.name}`, error, {
3513
3514
  input,
3514
3515
  });
3515
3516
  return {
@@ -35678,7 +35679,7 @@ class NestPipelineTemplate {
35678
35679
  };
35679
35680
  this.logger.debug(`[START] | ${this.metadata.name}`, this.processLogMetadata(logMetadata));
35680
35681
  if (!this.isAuthorized(data.context)) {
35681
- this.logger.debug(`[ERROR] | ${this.metadata.name} -> Unauthorized`, this.processLogMetadata(logMetadata));
35682
+ this.logger.debug(`[UNAUTHORIZED] | ${this.metadata.name} -> Unauthorized`, this.processLogMetadata(logMetadata));
35682
35683
  return {
35683
35684
  type: "error",
35684
35685
  errorType: PipelineErrorType.Unauthorized,