Skip to content

The agent that grows with you

fix(webapp): word the boot warning for a deleted profile as well as an unserved one

unsupportedpastelsf87ca068266e
diff --git a/apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts b/apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts
index 1b198647370..02d4d6ebefe 100644
--- a/apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts
+++ b/apps/desktop/src/app/gateway/hooks/use-gateway-boot.ts
@@ -188,7 +188,7 @@ async function openWebappTabProfile(desktop: Window['hermesDesktop'], primary: s
const routes = await desktop.getProfileRoutes?.([profile]).catch(() => null)
if (routes && !routes.some(route => normalizeProfileKey(route.profile) === normalizeProfileKey(profile))) {
- console.warn(`[gateway] this gateway does not serve profile "${profile}"; this tab stays on "${primary}"`)
+ console.warn(`[gateway] this gateway has no profile "${profile}" or does not serve it; this tab stays on "${primary}"`)
await desktop.profile?.remember?.(primary)
return