Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update message
  • Loading branch information
prayansh committed Oct 2, 2019
commit 642c7c9d5bbb7234e0ab8b43bfbd505992dbdb6d
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (c *Client) flush(b *buffer) {

err := c.makeRequest(batchRequest)
if c.PrintErrors {
log.Printf("[ERROR] Batch failed making request, %v", err)
log.Printf("[ERROR] Batch failed making request: %v", err)
}
})
b.reset()
Expand Down Expand Up @@ -164,7 +164,7 @@ func (c *Client) buffer(b *buffer) {
x, err := json.Marshal(req)
if err != nil {
if c.PrintErrors {
log.Printf("[Error] Message `%s` excluded from batch: %v", req.ID, err)
log.Printf("[Error] Exiting: Message `%s` excluded from batch: %v", req.ID, err)
}
continue
}
Expand Down