adjust errors

This commit is contained in:
chrislu
2024-05-16 11:02:48 -07:00
parent 759a8e50cf
commit faffb2973c
2 changed files with 5 additions and 4 deletions

View File

@@ -55,9 +55,9 @@ func (b *MessageQueueBroker) BrokerConnectToBalancer(brokerBalancer string, stop
})
if err != nil {
if err == io.EOF {
return err
// return err
}
return fmt.Errorf("send stats message: %v", err)
return fmt.Errorf("send stats message to balancer %s: %v", brokerBalancer, err)
}
// glog.V(3).Infof("sent stats: %+v", stats)