Skip to content

The agent that grows with you

chore(gateway): waive the two deliberate catch-alls the authoring commands added

Teknium43830731911c
diff --git a/gateway/run_goals.py b/gateway/run_goals.py
index 9a67dd21290..3494968a66f 100644
--- a/gateway/run_goals.py
+++ b/gateway/run_goals.py
@@ -331,8 +331,8 @@ class GatewayGoalsMixin:
from gateway.session_automation import admit_route_wake
try:
await admit_route_wake(self, self._delivery_adapter_for(source), source, prompt, "goal-continuation")
- except Exception as exc:
- logger.debug("goal continuation: local admission failed: %s", exc)
+ except Exception: # health: allow BLE001 -- best-effort like the FIFO enqueue below; traceback logged
+ logger.debug("goal continuation: local admission failed", exc_info=True)
return
# Enqueue via the adapter's FIFO so a user message already in flight preempts naturally.
try:
diff --git a/gateway/slash_commands.py b/gateway/slash_commands.py
index df96fef2da5..4fce9b61e70 100644
--- a/gateway/slash_commands.py
+++ b/gateway/slash_commands.py
@@ -1251,7 +1251,7 @@ class GatewaySlashCommandsMixin(
cli_main(tokens)
except SystemExit:
pass # argparse exits on --help/usage errors; its text is the reply
- except Exception as exc:
+ except Exception as exc: # health: allow BLE001 -- main's CLI handler: the failure line is the reply
print(t("cli.commands.curator.failed", error=exc))
return out.getvalue().rstrip()