mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-04 15:56:08 +08:00
remove debug prints
This commit is contained in:
@@ -60,7 +60,6 @@ def main():
|
||||
for m in msgs:
|
||||
try:
|
||||
if m.androidLog.tag == "NetworkPolicy" and m.androidLog.message.startswith("problem with advise persist threshold"):
|
||||
print(m)
|
||||
cloudlog.event("network policy exception caught", androidLog=m.androidLog, error=True)
|
||||
except UnicodeDecodeError:
|
||||
pass
|
||||
|
||||
@@ -15,7 +15,6 @@ def main():
|
||||
if prop is not None and len(prop) > 0:
|
||||
os.system("pkill -9 loggerd")
|
||||
params.put("LastSystemShutdown", f"'{prop}' {datetime.datetime.now()}")
|
||||
print("shutdown detected", repr(prop))
|
||||
|
||||
time.sleep(120)
|
||||
cloudlog.error('shutdown false positive')
|
||||
|
||||
Reference in New Issue
Block a user