Skip to content

Commit

Permalink
Fix: Typo in log with an invalid message (#774)
Browse files Browse the repository at this point in the history
 Typo in logof broker/src/main/java/io/moquette/broker/NettyUtils.java
  • Loading branch information
j-madden authored Oct 17, 2023
1 parent b2a1819 commit e03da9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion broker/src/main/java/io/moquette/broker/NettyUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static String userName(Channel channel) {
public static MqttMessage validateMessage(Object message) throws IOException, ClassCastException {
MqttMessage msg = (MqttMessage) message;
if (msg.decoderResult() != null && msg.decoderResult().isFailure()) {
throw new IOException("invalid massage", msg.decoderResult().cause());
throw new IOException("Invalid message", msg.decoderResult().cause());
}
if (msg.fixedHeader() == null) {
throw new IOException("Unknown packet, no fixedHeader present, no cause provided");
Expand Down

0 comments on commit e03da9f

Please sign in to comment.