0
Q: Paho MQTT connect() fails ungracefully if internet connection not ready, can't trap the exception
My python script turns on the Raspberry Pi's WiFi and after a short delay tries to connect with Paho MQTT. If the delay isn't long enough, it fails ungracefully. <!-- language: python --> try: mqtt_client = mqtt.Client(client_id="Luke, I am your client", clean...