1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00

GO-5309 Cleanup graylog

This commit is contained in:
Mikhail Iudin 2025-03-18 17:38:58 +01:00
parent 81d69857af
commit 7ffeb805a0
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -4,6 +4,7 @@ package paymentserviceclient
import (
"context"
"errors"
"github.com/anyproto/any-sync/net"
"github.com/anyproto/any-sync/app"
"github.com/anyproto/any-sync/app/logger"
@ -78,7 +79,9 @@ func (s *service) doClient(ctx context.Context, fn func(cl pp.DRPCAnyPaymentProc
// please use "paymentProcessingNode" type of node in the config (in the network.nodes array)
peer, err := s.pool.GetOneOf(ctx, s.nodeconf.PaymentProcessingNodePeers())
if err != nil {
log.Error("failed to get a paymentnode peer", zap.Error(err))
if !errors.Is(err, net.ErrUnableToConnect) {
log.Error("failed to get a paymentnode peer", zap.Error(err))
}
return err
}