mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
Handle missing headers
This commit is contained in:
parent
67f6f74876
commit
138973b7ac
|
|
@ -91,6 +91,11 @@ func (s *OutputRoomEventConsumer) onMessage(msg *sarama.ConsumerMessage) error {
|
|||
)
|
||||
return nil
|
||||
}
|
||||
} else {
|
||||
log.WithField("type", msgtype).Debug(
|
||||
"roomserver output log: no message type included",
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
||||
// See if the room version is present in the headers. If it isn't
|
||||
|
|
|
|||
|
|
@ -81,6 +81,11 @@ func (s *OutputRoomEventConsumer) onMessage(msg *sarama.ConsumerMessage) error {
|
|||
)
|
||||
return nil
|
||||
}
|
||||
} else {
|
||||
log.WithField("type", msgtype).Debug(
|
||||
"roomserver output log: no message type included",
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
||||
// See if the room version is present in the headers. If it isn't
|
||||
|
|
|
|||
|
|
@ -84,6 +84,11 @@ func (s *OutputRoomEventConsumer) onMessage(msg *sarama.ConsumerMessage) error {
|
|||
)
|
||||
return nil
|
||||
}
|
||||
} else {
|
||||
log.WithField("type", msgtype).Debug(
|
||||
"roomserver output log: no message type included",
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
||||
// See if the room version is present in the headers. If it isn't
|
||||
|
|
|
|||
|
|
@ -74,6 +74,11 @@ func (s *OutputRoomEventConsumer) onMessage(msg *sarama.ConsumerMessage) error {
|
|||
)
|
||||
return nil
|
||||
}
|
||||
} else {
|
||||
log.WithField("type", msgtype).Debug(
|
||||
"roomserver output log: no message type included",
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
||||
// See if the room version is present in the headers. If it isn't
|
||||
|
|
|
|||
|
|
@ -84,6 +84,11 @@ func (s *OutputRoomEventConsumer) onMessage(msg *sarama.ConsumerMessage) error {
|
|||
)
|
||||
return nil
|
||||
}
|
||||
} else {
|
||||
log.WithField("type", msgtype).Debug(
|
||||
"roomserver output log: no message type included",
|
||||
)
|
||||
return nil
|
||||
}
|
||||
|
||||
// See if the room version is present in the headers. If it isn't
|
||||
|
|
|
|||
Loading…
Reference in a new issue