Skip to content

Commit

Permalink
remove extra newline from log message (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
eli-darkly authored Dec 2, 2020
1 parent ebd63cd commit aa15913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (stream *Stream) stream(r io.ReadCloser) {
logger := stream.getLogger()
delay := stream.retryDelay.NextRetryDelay(time.Now())
if logger != nil {
logger.Printf("Reconnecting in %0.4f secs\n", delay.Seconds())
logger.Printf("Reconnecting in %0.4f secs", delay.Seconds())
}
time.AfterFunc(delay, func() {
retryChan <- struct{}{}
Expand Down

0 comments on commit aa15913

Please sign in to comment.