Skip to content

Commit

Permalink
format/message test
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Jun 23, 2023
1 parent 2d1c14e commit ee0d766
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mqtt_client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ where
.replace(Vec::from_slice(binary_props).unwrap());
self.listing_state.replace(Default::default());
} else {
log::info!("`List` command without `ResponseTopic`");
log::info!("Discarding `List` without `ResponseTopic`");
}
// Response sent with listing.
return;
Expand Down Expand Up @@ -548,9 +548,9 @@ where
.properties(&props)
.qos(QoS::AtLeastOnce)
.finish() else {
log::warn!("Failed to build response `Pub`");
return;
};
log::warn!("Failed to build response `Pub`");
return;
};

// If we cannot publish the response yet (possibly because we just published something
// that hasn't completed yet), cache the response for future transmission.
Expand Down

0 comments on commit ee0d766

Please sign in to comment.