uapi: report endpoint error

This commit is contained in:
Jason A. Donenfeld 2019-03-19 00:34:04 -06:00
parent 03f2e2614a
commit 2c51d6af48

View file

@ -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}
}