From 551c7d81d69779ba22644c70bf6a398f99165f29 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Sat, 17 Aug 2024 04:26:22 -0500 Subject: [PATCH] fix(device): Fix stack trace formatting --- internal/device/watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/device/watch.go b/internal/device/watch.go index e007622..0c6cb64 100644 --- a/internal/device/watch.go +++ b/internal/device/watch.go @@ -124,7 +124,7 @@ func (d *Device) closeApp() error { if d.app != nil { defer func() { if r := recover(); r != nil { - d.logger.Debug("Panic during close", "error", r, "stack", debug.Stack()) + d.logger.Debug("Panic during close", "error", r, "stack", string(debug.Stack())) } }()