From 00acafa2908cf9d232134eead5fed94889a343db Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 15 Feb 2026 10:51:59 +0000 Subject: [PATCH] fix docstring --- cmd/vbantxt/main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/vbantxt/main.go b/cmd/vbantxt/main.go index 5458c18..83baf96 100644 --- a/cmd/vbantxt/main.go +++ b/cmd/vbantxt/main.go @@ -162,13 +162,11 @@ func createClient(flags *Flags) (*vbantxt.VbanTxt, func(), error) { return client, closer, err } -// sendCommands sends a list of commands to the VBAN client. +// sendCommands sends the provided VBAN commands using the client and logs any errors that occur. func sendCommands(client *vbantxt.VbanTxt, commands []string) { for _, cmd := range commands { - err := client.Send(cmd) - if err != nil { + if err := client.Send(cmd); err != nil { log.Errorf("Failed to send command '%s': %v", cmd, err) - continue } } }