소스 검색

debug getData

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