Merge pull request #13841 from rabbitmq/mergify/bp/v4.1.x/pr-13840
Trigger a 4.1.x alpha release build / trigger_alpha_build (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 26) (push) Waiting to run Details
Test (make) / Build and Xref (1.17, 27) (push) Waiting to run Details
Test (make) / Test (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Waiting to run Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Waiting to run Details
Test (make) / Type check (1.17, 27) (push) Waiting to run Details

Fix formatter crash in rabbit_reader (backport #13840)
This commit is contained in:
Michael Klishin 2025-05-02 20:28:25 +04:00 committed by GitHub
commit 2ea704c14f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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