mirror of
https://github.com/ClusterCockpit/cc-metric-store.git
synced 2025-07-24 21:56:17 +02:00
add error messages
This commit is contained in:
@@ -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()...)
|
||||
|
Reference in New Issue
Block a user