Merge branch 'main' into ssh-rewrite

This commit is contained in:
Viktor Liu
2025-11-03 13:43:29 +01:00
26 changed files with 479 additions and 161 deletions

View File

@@ -55,8 +55,7 @@ func NewClient(ctx context.Context, addr string, ourPrivateKey wgtypes.Key, tlsE
var err error
conn, err = nbgrpc.CreateConnection(ctx, addr, tlsEnabled, wsproxy.ManagementComponent)
if err != nil {
log.Printf("createConnection error: %v", err)
return err
return fmt.Errorf("create connection: %w", err)
}
return nil
}