From b5129dadfd6fa3ec9e4dd5e500302e7eb466dbac Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 6 Jan 2021 20:18:29 -0800 Subject: [PATCH] ipn: fix buggy-looking format string in error log On shutdown, logs showed: wgengine status error: &errors.errorString{s:"engine closing; no status"} --- ipn/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipn/local.go b/ipn/local.go index 60274ba11..a47938859 100644 --- a/ipn/local.go +++ b/ipn/local.go @@ -351,7 +351,7 @@ func (b *LocalBackend) setClientStatus(st controlclient.Status) { // This updates the endpoints both in the backend and in the control client. func (b *LocalBackend) setWgengineStatus(s *wgengine.Status, err error) { if err != nil { - b.logf("wgengine status error: %#v", err) + b.logf("wgengine status error: %v", err) return } if s == nil {