fix: tighten gateway bind auth diagnostics

This commit is contained in:
Peter Steinberger committed 2026-01-08 08:26:40 +01:00
1 parent debfce5a77
commit 5565dcd447
8 files changed
+196 -3

No files matched your search

+1 -1
View File
@@ -464,7 +464,7 @@ export async function startGatewayServer(
}
if (!isLoopbackHost(bindHost) && authMode === "none") {
throw new Error(
`refusing to bind gateway to ${bindHost}:${port} without auth (set gateway.auth or CLAWDBOT_GATEWAY_TOKEN)`,
`refusing to bind gateway to ${bindHost}:${port} without auth (set gateway.auth.token or CLAWDBOT_GATEWAY_TOKEN, or pass --token)`,
);
}