log mqtt received details

This commit is contained in:
Evan Feenstra
2023-06-05 14:23:50 -07:00
parent 366aa5d219
commit c4cff01520

View File

@@ -76,6 +76,7 @@ pub fn make_client(
Event::Published(_mes_id) => info!("RECEIVED Published MESSAGE"),
Event::Received(msg) => {
let topic_opt = msg.topic();
log::info!("received msg details {:?}", msg.details());
if let Some(topic) = topic_opt {
if topic.ends_with(topics::VLS) {
tx.send(CoreEvent::VlsMessage(msg.data().to_vec()))