echoserver: do not treat client errors as fatal (#398)

This commit is contained in:
Nikolay Edigaryev
2026-02-05 13:00:43 +01:00
committed by GitHub
parent 448da2a83b
commit d1fb330d7e
3 changed files with 40 additions and 21 deletions
+5 -1
View File
@@ -196,7 +196,11 @@ func runWorker(cmd *cobra.Command, args []string) (err error) {
// Use TCP echo server to partially emulate VM's TCP/IP stack,
// this way we get port-forwarding working when running in
// synthetic mode
echoServer, err := echoserver.New()
echoServerOpts := []echoserver.Option{
echoserver.WithLogger(logger.Sugar().With("component", "echoserver")),
}
echoServer, err := echoserver.New(echoServerOpts...)
if err != nil {
return err
}