mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-02-23 13:54:25 +01:00
log invoice on error in track status
This commit is contained in:
@@ -21,7 +21,7 @@ func (svc *LndhubService) CheckAllPendingOutgoingPayments(ctx context.Context) (
|
||||
for _, inv := range pendingPayments {
|
||||
err = svc.TrackOutgoingPaymentstatus(ctx, &inv)
|
||||
if err != nil {
|
||||
svc.Logger.Error(err)
|
||||
svc.Logger.Errorf("Error tracking payment %v: %s", inv, err.Error())
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user