feat(desktop): surface local server startup failures (#30822)

This commit is contained in:
Luke Parker
2026-06-04 22:45:48 +00:00
committed by GitHub
parent 107180701f
commit b1a7ee5695
10 changed files with 175 additions and 5 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import { createStore } from "solid-js/store"
import { usePlatform } from "@/context/platform"
import { useLanguage } from "@/context/language"
import { Icon } from "@opencode-ai/ui/icon"
import { errorDescriptionKey } from "./error-description"
export type InitError = {
name: string
@@ -289,7 +290,7 @@ export const ErrorPage: Component<ErrorPageProps> = (props) => {
<Logo class="w-58.5 opacity-12 shrink-0" />
<div class="flex flex-col items-center gap-2 text-center">
<h1 class="text-lg font-medium text-text-strong">{language.t("error.page.title")}</h1>
<p class="text-sm text-text-weak">{language.t("error.page.description")}</p>
<p class="text-sm text-text-weak">{language.t(errorDescriptionKey(props.error))}</p>
</div>
<TextField
value={formattedError()}