From bad5458d1ded4d04bb4aaa4f0570875f06ba20fe Mon Sep 17 00:00:00 2001 From: Lars Stegman Date: Tue, 1 Oct 2024 10:35:42 +0200 Subject: [PATCH] feat(common.socket): use supported verb --- plugins/common/socket/datagram.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/common/socket/datagram.go b/plugins/common/socket/datagram.go index 753106da5a734..3bfae6cd0fe62 100644 --- a/plugins/common/socket/datagram.go +++ b/plugins/common/socket/datagram.go @@ -221,7 +221,7 @@ func (l *packetListener) setupDecoder() error { l.decoders = sync.Pool{New: func() any { decoder, err := internal.NewContentDecoder(l.Encoding, options...) if err != nil { - l.Log.Errorf("creating decoder failed: %w", err) + l.Log.Errorf("creating decoder failed: %v", err) return nil }