Skip to content

Commit

Permalink
Add the URL that didn't work.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Aug 10, 2017
1 parent 4f732f6 commit 9dd1a48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/talaria/workerPool.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ func (wp *WorkerPool) transact(e *outboundEnvelope) {
}

if response.StatusCode < 400 {
wp.logger.Debug("HTTP response status: %s", response.Status)
wp.logger.Debug("HTTP response status: %s, target: %s", response.Status, e.request.URL)
} else {
wp.logger.Error("HTTP response status: %s", response.Status)
wp.logger.Error("HTTP response status: %s, target: %s", response.Status, e.request.URL)
}

io.Copy(ioutil.Discard, response.Body)
Expand Down

0 comments on commit 9dd1a48

Please sign in to comment.