Adding comment about subscription failures
This commit is contained in:
parent
919f68c934
commit
f9b1b8df13
|
@ -115,6 +115,8 @@ where
|
||||||
String::from(self.settings_prefix.as_str());
|
String::from(self.settings_prefix.as_str());
|
||||||
settings_topic.push_str("/#").unwrap();
|
settings_topic.push_str("/#").unwrap();
|
||||||
|
|
||||||
|
// We do not currently handle or process potential subscription failures. Instead, this
|
||||||
|
// failure will be logged through the stabilizer logging interface.
|
||||||
self.mqtt.subscribe(&settings_topic, &[]).unwrap();
|
self.mqtt.subscribe(&settings_topic, &[]).unwrap();
|
||||||
self.subscribed = true;
|
self.subscribed = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue