diff --git a/politeiawww/cmsaddresswatcher.go b/politeiawww/cmsaddresswatcher.go index 361660ef9..ba54cc496 100644 --- a/politeiawww/cmsaddresswatcher.go +++ b/politeiawww/cmsaddresswatcher.go @@ -188,6 +188,7 @@ func (p *politeiawww) restartCMSAddressesWatching(ctx context.Context) error { } for _, payments := range paidPayments { if payments.TxIDs == "" && payments.AmountReceived == 0 { + log.Infof("checking invoice %v that has nothing received, started %v", payments.InvoiceToken, time.Unix(payments.TimeStarted, 0)) payments.Address = strings.TrimSpace(payments.Address) paid := p.checkHistoricalPayments(ctx, &payments) if !paid { diff --git a/politeiawww/user.go b/politeiawww/user.go index b9326b94b..90eed1e8c 100644 --- a/politeiawww/user.go +++ b/politeiawww/user.go @@ -2259,7 +2259,9 @@ func (p *politeiawww) checkForUserPayments(ctx context.Context, pool map[uuid.UU poolMember.amount, poolMember.txNotBefore, p.cfg.MinConfirmationsRequired, p.dcrdataHostHTTP()) if err != nil { - log.Errorf("cannot fetch tx: %v\n", err) + if !strings.Contains(err.Error(), "Unprocessable Entity") { + log.Errorf("couldn't fetch tx: %v\n", strings.TrimSpace(err.Error())) + } continue }