Skip to content

Commit

Permalink
fix(device): Fix stack trace formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Aug 17, 2024
1 parent 3fa833b commit 551c7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/device/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
}
}()

Expand Down

0 comments on commit 551c7d8

Please sign in to comment.