[Spice-devel] [PATCH spice-server] Log the invalid message from the stream device

Lukáš Hrázký lhrazky at redhat.com
Wed Aug 8 14:09:17 UTC 2018


Signed-off-by: Lukáš Hrázký <lhrazky at redhat.com>
---
 server/red-stream-device.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/red-stream-device.c b/server/red-stream-device.c
index d293dc1c..fb036b93 100644
--- a/server/red-stream-device.c
+++ b/server/red-stream-device.c
@@ -221,6 +221,8 @@ handle_msg_invalid(StreamDevice *dev, SpiceCharDeviceInstance *sin, const char *
         error_msg = default_error_msg;
     }
 
+    g_warning("Stream device received invalid message: %s", error_msg);
+
     int msg_size = sizeof(StreamMsgNotifyError) + strlen(error_msg) + 1;
     int total_size = sizeof(StreamDevHeader) + msg_size;
 
-- 
2.18.0



More information about the Spice-devel mailing list