add error messages

This commit is contained in:
Christoph Kluge
2025-07-03 10:32:05 +02:00
parent 018daa634c
commit a868d99609
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ func ReceiveRaw(ctx context.Context,
return
}
log.Printf("%s: %s", conn.RemoteAddr().String(), err.Error())
log.Printf("ReceiveRaw Error from Address %s: %s", conn.RemoteAddr().String(), err.Error())
errmsg := make([]byte, 128)
errmsg = append(errmsg, `error: `...)
errmsg = append(errmsg, err.Error()...)