Make dialyzer happy

(cherry picked from commit b4a11e61ab)
This commit is contained in:
Michael Klishin 2025-06-25 16:28:23 +04:00 committed by Mergify
parent f3fa4cc6ab
commit 3d80af6a79
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ handle_cast(terminate, State = #ch{cfg = #conf{writer_pid = WriterPid}}) ->
try try
ok = rabbit_writer:flush(WriterPid) ok = rabbit_writer:flush(WriterPid)
catch catch
Class:Reason -> _Class:Reason ->
rabbit_log:debug("Failed to flush pending writes on a terminating connection, reason: ~tp", [Reason]) rabbit_log:debug("Failed to flush pending writes on a terminating connection, reason: ~tp", [Reason])
end, end,
{stop, normal, State}; {stop, normal, State};