Skip to content

Commit

Permalink
Fix log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gdiazlo committed Mar 7, 2019
1 parent 253618f commit 458d05b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gossip/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func chTimedSend(batch *protocol.BatchSnapshots, ch chan *protocol.BatchSnapshot
for {
select {
case <-time.After(200 * time.Millisecond):
log.Infof("Timed out sending out batch ")
log.Infof("Agent timed out enqueueing batch in out channel")
return
case ch <- batch:
return
Expand Down
2 changes: 1 addition & 1 deletion gossip/monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (q QueryTask) Do() {
resp, err := q.client.Incremental(q.Start, q.End)
if err != nil {
metrics.QedMonitorGetIncrementalProofErrTotal.Inc()
log.Infof("Unable to verify incremental proof from %d to %d", q.Start, q.End)
log.Infof("Unable to get incremental proof from QED server: %s", err.Error())
return
}
ok := q.client.VerifyIncremental(resp, &q.StartSnapshot, &q.EndSnapshot, hashing.NewSha256Hasher())
Expand Down

0 comments on commit 458d05b

Please sign in to comment.