summaryrefslogtreecommitdiffhomepage
path: root/device/send.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/send.go')
-rw-r--r--device/send.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/send.go b/device/send.go
index bc51fa6..c75d23e 100644
--- a/device/send.go
+++ b/device/send.go
@@ -174,7 +174,7 @@ func (peer *Peer) SendHandshakeInitiation(isRetry bool) error {
err = peer.SendBuffer(packet)
if err != nil {
- peer.device.log.Error.Println(peer, "- Failed to send handshake initiation", err)
+ peer.device.log.Error.Println(peer, "- Failed to send handshake initiation:", err)
}
peer.timersHandshakeInitiated()
@@ -212,7 +212,7 @@ func (peer *Peer) SendHandshakeResponse() error {
err = peer.SendBuffer(packet)
if err != nil {
- peer.device.log.Error.Println(peer, "- Failed to send handshake response", err)
+ peer.device.log.Error.Println(peer, "- Failed to send handshake response:", err)
}
return err
}