Skip to content

Commit

Permalink
Logging fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandor Torok committed Jun 4, 2018
1 parent 5273d3e commit 7979814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion queue/mapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (h *KafkaMessageMapper) MapNotification(msg kafka.FTMessage) (*Notification
}

if n.Stub.CanBeDistributed != nil && *n.Stub.CanBeDistributed != canBeDistributedYes {
log.WithField("transaction_id", tid).WithField("msg", msg.Body).WithError(err).Warn("Skipping event: Content cannot be distributed.")
log.WithField("transaction_id", tid).WithField("uuid", n.Stub.Uuid).Warn("Skipping event: Content cannot be distributed.")
return nil, nil
}

Expand Down

0 comments on commit 7979814

Please sign in to comment.