aboutsummaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-19 00:34:04 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-19 00:34:04 -0600
commit2c51d6af48b8c6115852d72759c64aaaae5007d5 (patch)
tree050f8e17f2735d39891bfa049469c510dac493ea /device
parenttun: windows: wintun does iocp (diff)
downloadwireguard-go-2c51d6af48b8c6115852d72759c64aaaae5007d5.tar.xz
wireguard-go-2c51d6af48b8c6115852d72759c64aaaae5007d5.zip
uapi: report endpoint error
Diffstat (limited to 'device')
-rw-r--r--device/uapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/uapi.go b/device/uapi.go
index 0cb34ea..195bd81 100644
--- a/device/uapi.go
+++ b/device/uapi.go
@@ -298,7 +298,7 @@ func (device *Device) IpcSetOperation(socket *bufio.Reader) *IPCError {
}()
if err != nil {
- logError.Println("Failed to set endpoint:", value)
+ logError.Println("Failed to set endpoint:", err, ":", value)
return &IPCError{ipc.IpcErrorInvalid}
}