weed/command: fix dropped error

This commit is contained in:
Lars Lehtonen 2023-11-20 04:57:38 -08:00 committed by Chris Lu
parent 06434f5227
commit 57801687de

View file

@ -78,6 +78,9 @@ func (mqBrokerOpt *MessageQueueBrokerOptions) startQueueServer() bool {
Ip: *mqBrokerOpt.ip,
Port: *mqBrokerOpt.port,
}, grpcDialOption)
if err != nil {
glog.Fatalf("failed to create new message broker for queue server: %v", err)
}
// start grpc listener
grpcL, _, err := util.NewIpAndLocalListeners("", *mqBrokerOpt.port, 0)