@@ -421,12 +421,12 @@ log_connection_exception(Severity, Name, Duration, {connection_closed_abruptly,
421421 log_connection_exception_with_severity (Severity , Fmt ,
422422 [self (), Name , Duration ]);
423423% % failed connection.tune negotiations
424- log_connection_exception (Severity , Name , Duration , {handshake_error , tuning ,
424+ log_connection_exception (Severity , Name , _Duration , {handshake_error , tuning ,
425425 {exit , # amqp_error {explanation = Explanation },
426426 _Method , _Stacktrace }}) ->
427427 Fmt = " closing AMQP connection ~tp (~ts ):~n "
428428 " failed to negotiate connection parameters: ~ts " ,
429- log_connection_exception_with_severity (Severity , Fmt , [self (), Name , Duration , Explanation ]);
429+ log_connection_exception_with_severity (Severity , Fmt , [self (), Name , Explanation ]);
430430log_connection_exception (Severity , Name , Duration , {sasl_required , ProtocolId }) ->
431431 Fmt = " closing AMQP 1.0 connection (~ts , duration: '~ts '): RabbitMQ requires SASL "
432432 " security layer (expected protocol ID 3, but client sent protocol ID ~b )" ,
0 commit comments