diff options
Diffstat (limited to 'src/timers.go')
-rw-r--r-- | src/timers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timers.go b/src/timers.go index f1ed9c5..2ef105e 100644 --- a/src/timers.go +++ b/src/timers.go @@ -303,7 +303,7 @@ func (peer *Peer) RoutineTimerHandler() { err := peer.sendNewHandshake()
if err != nil {
logInfo.Println(
- "Failed to send handshake to peer:", peer.String())
+ "Failed to send handshake to peer:", peer.String(), "(", err, ")")
}
case <-peer.timer.handshakeDeadline.Wait():
@@ -326,7 +326,7 @@ func (peer *Peer) RoutineTimerHandler() { err := peer.sendNewHandshake()
if err != nil {
logInfo.Println(
- "Failed to send handshake to peer:", peer.String())
+ "Failed to send handshake to peer:", peer.String(), "(", err, ")")
}
peer.timer.handshakeDeadline.Reset(RekeyAttemptTime)
|