From 926402dd13abdc0a52ed69bd38adced2b44995d4 Mon Sep 17 00:00:00 2001 From: wabrent Date: Thu, 7 May 2026 12:52:44 +0300 Subject: [PATCH] fix(gateway): surface bootstrap failures to stderr instead of silently swallowing --- gateway/run.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gateway/run.py b/gateway/run.py index 9f792c3e5d..6a86a1e37c 100644 --- a/gateway/run.py +++ b/gateway/run.py @@ -499,21 +499,21 @@ try: if isinstance(_network_cfg, dict) and _network_cfg.get("force_ipv4"): apply_ipv4_preference(force=True) except Exception: - pass + print(" Warning: IPv4 preference application failed", file=sys.stderr) # Validate config structure early — log warnings so gateway operators see problems try: from hermes_cli.config import print_config_warnings print_config_warnings() except Exception: - pass + print(" Warning: config validation failed", file=sys.stderr) # Warn if user has deprecated MESSAGING_CWD / TERMINAL_CWD in .env try: from hermes_cli.config import warn_deprecated_cwd_env_vars warn_deprecated_cwd_env_vars() except Exception: - pass + print(" Warning: deprecation check failed", file=sys.stderr) # Gateway runs in quiet mode - suppress debug output and use cwd directly (no temp dirs) os.environ["HERMES_QUIET"] = "1"