cashless2ecash

cashless2ecash: pay with cards for digital cash (experimental)
Log | Files | Refs | README

commit 96305d1a5659ce550237bc0f2d2ee278748b29fb
parent c7c2984d84f2b431d3c461a4b17cc9d83edbf6f7
Author: Joel-Haeberli <haebu@rubigen.ch>
Date:   Mon,  3 Jun 2024 20:27:51 +0200

fix: enhance logging

Diffstat:
Mc2ec/wallee-client.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c2ec/wallee-client.go b/c2ec/wallee-client.go @@ -182,12 +182,12 @@ func (w *WalleeClient) Refund(transactionId string) error { withdrawal, err := DB.GetWithdrawalByProviderTransactionId(transactionId) if err != nil { - err = errors.New("unable to find withdrawal belonging to transactionId=" + transactionId) + err = errors.New("error unable to find withdrawal belonging to transactionId=" + transactionId) LogError("wallee-client", err) return err } if withdrawal == nil { - err = errors.New("unable to find withdrawal belonging to transactionId=" + transactionId) + err = errors.New("withdrawal is nil unable to find withdrawal belonging to transactionId=" + transactionId) LogError("wallee-client", err) return err }