improved logging

This commit is contained in:
Stephan D
2025-12-25 17:01:35 +01:00
parent 610296b301
commit 2d38b974ba

View File

@@ -143,12 +143,9 @@ func (h *quotePaymentsCommand) Execute(ctx context.Context, req *orchestratorv1.
if err := quotesStore.Create(ctx, record); err != nil {
return gsresponse.Auto[orchestratorv1.QuotePaymentsResponse](h.logger, mservice.PaymentOrchestrator, err)
}
h.logger.Info(
"stored payment quotes",
zap.String("quote_ref", quoteRef),
mzap.ObjRef("org_ref", orgRef),
zap.String("idempotency_key", baseKey),
zap.Int("quote_count", len(quotes)),
h.logger.Info("Stored payment quotes",
zap.String("quote_ref", quoteRef), mzap.ObjRef("org_ref", orgRef),
zap.String("idempotency_key", baseKey), zap.Int("quote_count", len(quotes)),
)
}