Adding comment about subscription failures

This commit is contained in:
Ryan Summers 2021-05-05 14:33:34 +02:00
parent 919f68c934
commit f9b1b8df13

View File

@ -115,6 +115,8 @@ where
String::from(self.settings_prefix.as_str());
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.subscribed = true;
}