fix(log): fix the `pubrel` typo in the log

This commit is contained in:
firest 2023-07-14 17:19:50 +08:00
parent 924ed06760
commit fea73cf17d
1 changed files with 1 additions and 1 deletions

View File

@ -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;