@@ -66,9 +66,9 @@ async def ble_task():
while (client.is_connected):
await asyncio.sleep(1)
- except Exception:
+ except Exception as e:
outdoorConnected = 0
- print("exception while connecting or getting data")
+ print("exception while connecting or getting data", e)
async def sensor_task():
global indoorValues