From b5d2f054c2ba6c09614b8ea6cb749745ea45aed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Thu, 25 Jun 2026 13:38:40 +0200 Subject: [PATCH] print stack --- client/internal/peer/status.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/internal/peer/status.go b/client/internal/peer/status.go index fb4613095..9b5fe16ee 100644 --- a/client/internal/peer/status.go +++ b/client/internal/peer/status.go @@ -5,6 +5,7 @@ import ( "errors" "fmt" "net/netip" + "runtime/debug" "slices" "sync" "time" @@ -1476,5 +1477,6 @@ func (fs FullStatus) ToProto() *proto.FullStatus { func debugElapsed(msg string, startTime time.Time) { if elapsed := time.Since(startTime); elapsed > 1*time.Second { log.Infof("run %s took %s", msg, elapsed) + debug.PrintStack() } }