Skip to content

Commit

Permalink
fix: remove empty bytes print
Browse files Browse the repository at this point in the history
  • Loading branch information
andefined committed Apr 6, 2023
1 parent 51ad0af commit fb2a880
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func (stream *Stream) listen(response *http.Response) {
// Contuinue if empty bytes returned from the stream
// Read more about consuming streaming data: https://developer.twitter.com/en/docs/tutorials/consuming-streaming-data
if len(line) == 0 {
fmt.Println("Empty bytes received")
continue
}

Expand Down

0 comments on commit fb2a880

Please sign in to comment.