Block users from using development branches

This commit is contained in:
James
2025-12-01 12:00:00 -07:00
parent ffd7259193
commit b2d94a9f0d
13 changed files with 67 additions and 10 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ def manager_init() -> None:
p.prepare()
# FrogPilot variables
install_frogpilot(params)
install_frogpilot(build_metadata, params)
frogpilot_boot_functions(build_metadata, params)
+6
View File
@@ -29,6 +29,12 @@ def report_tombstone(fn: str, message: str, contents: str) -> None:
sentry_sdk.flush()
def capture_block() -> None:
with sentry_sdk.push_scope() as scope:
sentry_sdk.capture_message("Blocked user from using the development branch", level="info")
sentry_sdk.flush()
def capture_exception(*args, **kwargs) -> None:
exc_text = traceback.format_exc()