print stack as string

This commit is contained in:
bcmmbaga 2024-07-25 20:31:36 +03:00
parent 50642f5ef3
commit 2f409bc61c
No known key found for this signature in database
GPG Key ID: 7249A19D20613553

View File

@ -275,7 +275,7 @@ func (s *SqlStore) SavePeerStatus(accountID, peerID string, peerStatus nbpeer.Pe
var peerCopy nbpeer.Peer
peerCopy.Status = &peerStatus
log.WithContext(context.Background()).Tracef("saving an peer: %s with false status. PeerCopy %v, Arg: %v, Trace: %v",
log.WithContext(context.Background()).Tracef("saving peer: %s with false status. PeerCopy %v, Arg: %v, Trace: %s",
peerID, peerCopy.Status.Connected, peerStatus.Connected,
debug.Stack())