Skip to content

Commit d249a6c

Browse files
chore: add order id logging
1 parent 7208562 commit d249a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkout/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ func (cs *checkout) PlaceOrder(ctx context.Context, req *pb.PlaceOrderRequest) (
438438
sqsSpan.SetAttributes(
439439
attribute.String("aws.sqs.queue.url", cs.sqsClient.QueueURL),
440440
)
441-
logger.Info("sending data to sqs")
441+
logger.Info(fmt.Sprintf("sending order with id [%s] to sqs for processing", orderID.String()))
442442
sqsSpan.AddEvent("sending data to sqs", trace.WithAttributes(
443443
attribute.String("messaging.operation.name", "send"),
444444
attribute.String("messaging.operation.type", "send"),

0 commit comments

Comments
 (0)