marek преди 1 месец
родител
ревизия
7d6f9dc793
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      apps/getData.py

+ 2 - 2
apps/getData.py

@@ -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