commit 72eaf71273f79d9d9de21e77e859bbbfe9f058f6
parent 86770a9361526f55aad87f71572397cfd1636a54
Author: Joel-Haeberli <haebu@rubigen.ch>
Date: Mon, 3 Jun 2024 20:06:37 +0200
fix: enhance logging
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/c2ec/wallee-client.go b/c2ec/wallee-client.go
@@ -181,6 +181,7 @@ 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)
LogError("wallee-client", err)
return err
}