ing
This commit is contained in:
parent
07a8f2726d
commit
a8273a816c
|
@ -118,6 +118,10 @@ func (s *Subscribers) handleSubscriber() {
|
||||||
logging.Logger().Errorf("Subscriber: Cannot unmarshal data[%s] of Channel[%s] %v", string(v.Data), v.Channel, err)
|
logging.Logger().Errorf("Subscriber: Cannot unmarshal data[%s] of Channel[%s] %v", string(v.Data), v.Channel, err)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
if nil == message.Message {
|
||||||
|
logging.Logger().Errorf("Subscriber: Message is not valid data[%s] of Channel[%s]", string(v.Data), v.Channel)
|
||||||
|
break
|
||||||
|
}
|
||||||
msgChan <- message
|
msgChan <- message
|
||||||
case redis.Subscription:
|
case redis.Subscription:
|
||||||
case error:
|
case error:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user