Skip to content

Commit

Permalink
Add destination nodename and addr:port to the ucast hb timeout warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cvaroqui committed Jul 6, 2017
1 parent 501c0b2 commit 9e6e61a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/hb_ucast.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def _do(self, message, nodename, config):
self.stats.bytes += len(message)
except socket.timeout as exc:
self.stats.errors += 1
self.log.warning("send timeout")
self.log.warning("send to %s (%s:%d) timeout", nodename,
config.addr, config.port)
except socket.error as exc:
self.stats.errors += 1
self.log.error("send to %s (%s:%d) error: %s", nodename,
Expand Down

0 comments on commit 9e6e61a

Please sign in to comment.