aboutsummaryrefslogtreecommitdiff
path: root/io/trace-events
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-09-06 11:38:36 +0100
committerDaniel P. Berrange <berrange@redhat.com>2017-10-04 13:21:53 +0100
commit3a3f8705962c8c8a47a9b981ffd5aab7274ad508 (patch)
treec4979b2fee4e141603da3e5eb0a74d85461d37b7 /io/trace-events
parentf69a8bde29354493ff8aea64cc9cb3b531d16337 (diff)
io: include full error message in websocket handshake trace
When the websocket handshake fails it is useful to log the real error message via the trace points for debugging purposes. Fixes bug: #1715186 Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'io/trace-events')
-rw-r--r--io/trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/trace-events b/io/trace-events
index 3d233698d0..6459f71f5b 100644
--- a/io/trace-events
+++ b/io/trace-events
@@ -46,7 +46,7 @@ qio_channel_websock_new_server(void *ioc, void *master) "Websock new client ioc=
qio_channel_websock_handshake_start(void *ioc) "Websock handshake start ioc=%p"
qio_channel_websock_handshake_pending(void *ioc, int status) "Websock handshake pending ioc=%p status=%d"
qio_channel_websock_handshake_reply(void *ioc) "Websock handshake reply ioc=%p"
-qio_channel_websock_handshake_fail(void *ioc) "Websock handshake fail ioc=%p"
+qio_channel_websock_handshake_fail(void *ioc, const char *msg) "Websock handshake fail ioc=%p err=%s"
qio_channel_websock_handshake_complete(void *ioc) "Websock handshake complete ioc=%p"
# io/channel-command.c