change stuff
All checks were successful
Build and Publish / BuildAndDeployAmd64 (push) Successful in 27s
Build and Publish / BuildAndDeploy (push) Successful in 2m23s

This commit is contained in:
matst80
2024-11-13 22:52:36 +01:00
parent 4d3e49b53d
commit 0a0fd1738c
4 changed files with 21 additions and 12 deletions

View File

@@ -83,8 +83,9 @@ func (c *Connection) CallAsync(msg FrameType, payload []byte, ch chan<- FrameWit
err = SendFrame(conn, &toSend)
if err != nil {
conn.Close()
log.Printf("Error sending frame: %v\n", err)
close(ch)
conn.Close()
return nil, err
}