Add changelog entries and restore multi-line WhatsApp error log
Add changelog entries for the pyright introduction and the LiveKitRunnerArguments.token signature tightening. Restore the indented multi-line format for the WhatsApp missing-env error, now listing only the vars that are actually missing.
This commit is contained in:
@@ -396,8 +396,11 @@ def _setup_whatsapp_routes(app: FastAPI, args: argparse.Namespace):
|
||||
]
|
||||
missing = [v for v in required_vars if not os.getenv(v)]
|
||||
if missing:
|
||||
missing_list = "\n ".join(missing)
|
||||
logger.error(
|
||||
f"Missing required environment variables for WhatsApp transport: {', '.join(missing)}"
|
||||
f"""Missing required environment variables for WhatsApp transport:
|
||||
{missing_list}
|
||||
"""
|
||||
)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user