fix bug: v.MsgData == nil

pull/232/head
skiffer-git 2 years ago
parent 385f371c06
commit fcda79eb3c

@ -109,7 +109,6 @@ func (och *OnlineHistoryConsumerHandler) Run(channelID int) {
log.Debug(triggerID, "msg come to storage center", v.String())
if v.MsgData == nil {
log.NewWarn(triggerID, "msg come to storage center nil", v.String())
panic(v.String())
continue
}
isHistory := utils.GetSwitchFromOptions(v.MsgData.Options, constant.IsHistory)

Loading…
Cancel
Save