From a136e267ffeb46f3035b95f46ae3720d97689f5a Mon Sep 17 00:00:00 2001 From: Joshua Sing Date: Thu, 12 Sep 2024 22:38:01 +1000 Subject: [PATCH] tbc: fix log using %w verb (#255) --- service/tbc/tbc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/tbc/tbc.go b/service/tbc/tbc.go index a0ad07ea..88314b2d 100644 --- a/service/tbc/tbc.go +++ b/service/tbc/tbc.go @@ -1144,7 +1144,7 @@ func (s *Server) blockExpired(ctx context.Context, key any, value any) { if err := p.close(); err != nil { log.Errorf("block expired: %v %v", p, err) } - log.Errorf("block expired: %v %w", p, err) + log.Errorf("block expired: %v %v", p, err) } } }