mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 14:38:15 +01:00
activate break to mqtt listen loop on cancel -> prevent sigkill on stop or restart service
This commit is contained in:
parent
d6c2e465ac
commit
2eece208eb
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class SatelliteController:
|
|||
except asyncio.CancelledError:
|
||||
# Cancel
|
||||
self.logger.warning("MQTT Listening Cancelled")
|
||||
#break
|
||||
break
|
||||
except MqttError as e:
|
||||
self.logger.error("MQTT Exception: {}".format(e))
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue