Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix thinko
Browse files Browse the repository at this point in the history
  • Loading branch information
S7evinK committed Dec 16, 2023
1 parent 3abb616 commit 8fe77e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roomserver/internal/input/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fe77e0

Please sign in to comment.