mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-18 06:12:07 +08:00
+2
-1
@@ -6,8 +6,9 @@ import capnp
|
||||
from selfdrive.version import version, dirty
|
||||
|
||||
from selfdrive.swaglog import cloudlog
|
||||
from common.android import ANDROID
|
||||
|
||||
if os.getenv("NOLOG") or os.getenv("NOCRASH"):
|
||||
if os.getenv("NOLOG") or os.getenv("NOCRASH") or not ANDROID:
|
||||
def capture_exception(*exc_info):
|
||||
pass
|
||||
def bind_user(**kwargs):
|
||||
|
||||
Reference in New Issue
Block a user