fix: invalid placeholder in log message

This commit is contained in:
Ludovic Fernandez 2022-06-10 16:16:08 +02:00 committed by GitHub
parent 2a88b25712
commit 9c59df5e9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
}
}