From 06a0501633c35cb1527cc5a491899860eb962f14 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Fri, 22 Aug 2025 21:48:35 +0800 Subject: [PATCH] append error message to log --- pkg/services/transactions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/transactions.go b/pkg/services/transactions.go index c2d14dc9..c84ec85b 100644 --- a/pkg/services/transactions.go +++ b/pkg/services/transactions.go @@ -670,7 +670,7 @@ func (s *TransactionService) CreateScheduledTransactions(c core.Context, current log.Infof(c, "[transactions.CreateScheduledTransactions] transaction template \"id:%d\" has created a new trasaction \"id:%d\"", template.TemplateId, transaction.TransactionId) } else { failedCount++ - log.Errorf(c, "[transactions.CreateScheduledTransactions] transaction template \"id:%d\" failed to create new trasaction", template.TemplateId) + log.Errorf(c, "[transactions.CreateScheduledTransactions] transaction template \"id:%d\" failed to create new trasaction, because %s", template.TemplateId, err.Error()) } }