wip
This commit is contained in:
@@ -461,7 +461,7 @@ def main() -> None:
|
||||
print(f"Failed to setup FrogPilot. Error: {e}")
|
||||
return
|
||||
|
||||
manager_init(frogpilot_functions)
|
||||
log_dir = manager_init(frogpilot_functions)
|
||||
if os.getenv("PREPAREONLY") is not None:
|
||||
return
|
||||
|
||||
@@ -469,7 +469,7 @@ def main() -> None:
|
||||
signal.signal(signal.SIGTERM, lambda signum, frame: sys.exit(1))
|
||||
|
||||
try:
|
||||
manager_thread(frogpilot_functions)
|
||||
manager_thread(frogpilot_functions, log_dir)
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
sentry.capture_exception()
|
||||
|
||||
Reference in New Issue
Block a user