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