Update error print in record-gps.py
This commit is contained in:
parent
10ca1e50d5
commit
357b227968
@ -34,6 +34,6 @@ with open(filename, "w", 1) as f:
|
|||||||
print("Exiting GPS recording.", flush=True)
|
print("Exiting GPS recording.", flush=True)
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"GPS error: {e}", flush=True)
|
print(f"GPS error: {e}, trying again...", flush=True)
|
||||||
|
|
||||||
time.sleep(interval)
|
time.sleep(interval)
|
||||||
|
Loading…
Reference in New Issue
Block a user