mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
Fix thinko
This commit is contained in:
parent
3abb616074
commit
8fe77e0d00
|
|
@ -142,7 +142,7 @@ func (r *Inputer) startWorkerForRoom(roomID string) {
|
|||
// will linger around forever.
|
||||
|
||||
info, err := w.r.JetStream.ConsumerInfo(streamName, consumer)
|
||||
if err != nil {
|
||||
if err != nil && !errors.Is(err, nats.ErrConsumerNotFound) {
|
||||
// log and return, we will retry anyway
|
||||
logger.WithError(err).Errorf("failed to get consumer info")
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue