From 2c51d6af48b8c6115852d72759c64aaaae5007d5 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 19 Mar 2019 00:34:04 -0600 Subject: [PATCH] uapi: report endpoint error --- device/uapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }