aboutsummaryrefslogtreecommitdiff
path: root/FereFit_syncTime_BLE.py
diff options
context:
space:
mode:
Diffstat (limited to 'FereFit_syncTime_BLE.py')
-rw-r--r--FereFit_syncTime_BLE.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/FereFit_syncTime_BLE.py b/FereFit_syncTime_BLE.py
index 0076127..55866aa 100644
--- a/FereFit_syncTime_BLE.py
+++ b/FereFit_syncTime_BLE.py
@@ -24,6 +24,8 @@ async def sync(device_name: str):
await client.write_gatt_char("6E40FC20-B5A3-F393-E0A9-E50E24DCCA9E", packet)
print(f"Time synced! ts={ts} offset={offset}")
except Exception as e:
+ import traceback
+ traceback.print_exc()
print(f"Failed: {e}")
if __name__ == "__main__":