From: Jason A. Donenfeld Date: Tue, 19 Mar 2019 06:34:04 +0000 (-0600) Subject: uapi: report endpoint error X-Git-Tag: 0.0.20190409~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c51d6af48b8c6115852d72759c64aaaae5007d5;p=thirdparty%2Fwireguard-go.git uapi: report endpoint error --- 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} }