Add Sentry logging
Add logging for my Sentry server that tracks the values of the serial number, car fingerprint, user set parameters, and the date and time for when FrogPilot was installed and last updated for debugging and support.
This commit is contained in:
@@ -107,6 +107,9 @@ def manager_init() -> None:
|
||||
dirty=is_dirty(),
|
||||
device=HARDWARE.get_device_type())
|
||||
|
||||
# Remove the error log on boot to prevent old errors from hanging around
|
||||
if os.path.isfile(os.path.join(sentry.CRASHES_DIR, 'error.txt')):
|
||||
os.remove(os.path.join(sentry.CRASHES_DIR, 'error.txt'))
|
||||
|
||||
def manager_prepare() -> None:
|
||||
for p in managed_processes.values():
|
||||
|
||||
Reference in New Issue
Block a user