From fea73cf17d20d3fd3914a34ad508a0d608cf4493 Mon Sep 17 00:00:00 2001 From: firest Date: Fri, 14 Jul 2023 17:19:50 +0800 Subject: [PATCH] fix(log): fix the `pubrel` typo in the log --- apps/emqx/src/emqx_channel.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx/src/emqx_channel.erl b/apps/emqx/src/emqx_channel.erl index 5e594d35f..1ed6a238b 100644 --- a/apps/emqx/src/emqx_channel.erl +++ b/apps/emqx/src/emqx_channel.erl @@ -461,7 +461,7 @@ handle_in( NChannel = set_session(NSession, Channel), handle_out(pubcomp, {PacketId, ?RC_SUCCESS}, NChannel); {error, RC = ?RC_PACKET_IDENTIFIER_NOT_FOUND} -> - ?SLOG(warning, #{msg => "pubrec_packetId_not_found", packetId => PacketId}), + ?SLOG(warning, #{msg => "pubrel_packetId_not_found", packetId => PacketId}), ok = emqx_metrics:inc('packets.pubrel.missed'), handle_out(pubcomp, {PacketId, RC}, Channel) end;