checking git commits

This commit is contained in:
jothi
2025-07-31 07:55:32 +00:00
parent 02fe9ea45e
commit 5aad1d7d44

View File

@@ -289,7 +289,6 @@ func main() {
log.Fatalf("Failed to connect to MQTT broker: %v", token.Error())
}
// Subscribe to topics
for topic, qos := range topics {
if token := client.Subscribe(topic, qos, messageHandler); token.Wait() && token.Error() != nil {
log.Fatalf("Failed to subscribe to topic '%s': %v", topic, token.Error())