From 9c59df5e9c420cda8484eee7472cfd86d81f10d3 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Fri, 10 Jun 2022 16:16:08 +0200 Subject: [PATCH] fix: invalid placeholder in log message --- pkg/server/router/tcp/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/router/tcp/router.go b/pkg/server/router/tcp/router.go index 9b42b7ebe..3bcdbcacc 100644 --- a/pkg/server/router/tcp/router.go +++ b/pkg/server/router/tcp/router.go @@ -252,7 +252,7 @@ func (r *Router) SetHTTPSForwarder(handler tcp.Handler) { Config: tlsConf, }) if err != nil { - log.WithoutContext().Errorf("Error while adding route for host: %w", err) + log.WithoutContext().Errorf("Error while adding route for host: %v", err) } }