From 2f409bc61cb2c2b1e893213fd64af2e53031b760 Mon Sep 17 00:00:00 2001 From: bcmmbaga Date: Thu, 25 Jul 2024 20:31:36 +0300 Subject: [PATCH] print stack as string --- management/server/sql_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/server/sql_store.go b/management/server/sql_store.go index f63e25d3f..5a1e8c2a8 100644 --- a/management/server/sql_store.go +++ b/management/server/sql_store.go @@ -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())