Merge pull request #11272 from lafirest/fix/log_typo
fix(log): fix the `pubrel` typo in the log
This commit is contained in:
commit
ae4c5aa4c9
|
@ -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;
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Fix a typo in the log, when EMQX received an abnormal `PUBREL` packet, the `pubrel` was mistakenly typo as `pubrec`.
|
Loading…
Reference in New Issue