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