chore(cli): mark the moved /platforms fallback as main's catch-all

The except in cli_info_lines.platforms_lines is CLIInfoMixin._show_gateway_status moved
verbatim; health flags a new BLE001 because the file is new.
This commit is contained in:
Teknium committed 2026-10-13 02:51:44 -07:00
1 parent 894c437b7a
commit 27a4c4f9f1
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ def platforms_lines() -> list[str]:
return [*out, "", f" {t('cli.gateway_status.conversations_persist')}", "",
f" {t('cli.gateway_status.to_start')}", " python cli.py --gateway", "",
f" {t('cli.gateway_status.config_file', path=config_file)}", ""]
except Exception as e:
except Exception as e: # health: allow BLE001 -- moved unchanged from CLIInfoMixin._show_gateway_status (main): any config load failure prints the setup steps
return [*out, f" {t('cli.gateway_status.load_error', error=str(e))}", "",
f" {t('cli.gateway_status.to_configure')}", f" {t('cli.gateway_status.step_env_vars')}",
" TELEGRAM_BOT_TOKEN=your_token", " DISCORD_BOT_TOKEN=your_token",