Commit aafcea94 authored by Niels Möller's avatar Niels Möller
Browse files

* src/connection.c (do_exc_connection_handler): Display exception

message. Suggested by Jonas Bofjäll. XXX: Fix in 1.2 branch.

Rev: src/connection.c:1.64
parent 7a16376e
...@@ -205,6 +205,9 @@ do_exc_connection_handler(struct exception_handler *s, ...@@ -205,6 +205,9 @@ do_exc_connection_handler(struct exception_handler *s,
case EXC_PROTOCOL: case EXC_PROTOCOL:
{ {
CAST_SUBTYPE(protocol_exception, exc, e); CAST_SUBTYPE(protocol_exception, exc, e);
werror("Protocol error: %z\n", e->msg);
if (exc->reason) if (exc->reason)
C_WRITE(self->connection, format_disconnect(exc->reason, exc->super.msg, "")); C_WRITE(self->connection, format_disconnect(exc->reason, exc->super.msg, ""));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment