Skip to content

Commit

Permalink
fix panic in tailer when max tail duration exceeds (#1511)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepsukhani authored and cyriltovena committed Jan 13, 2020
1 parent 5739150 commit fbcfad1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/querier/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ func (q *Querier) TailHandler(w http.ResponseWriter, r *http.Request) {
}
level.Error(util.Logger).Log("msg", "Error from client", "err", err)
break
} else if tailer.stopped {
return
} else {
level.Error(util.Logger).Log("msg", "Unexpected error from client", "err", err)
break
}
}
}
Expand Down

0 comments on commit fbcfad1

Please sign in to comment.