From e48d804d84931e5437c5dd62a8cabaa58f989fce Mon Sep 17 00:00:00 2001 From: Adam <2363879+adamdotdevin@users.noreply.github.com> Date: Wed, 17 Dec 2025 15:42:50 -0600 Subject: feat(desktop): startup errors shown --- packages/desktop/src/pages/error.tsx | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 packages/desktop/src/pages/error.tsx (limited to 'packages/desktop/src/pages') diff --git a/packages/desktop/src/pages/error.tsx b/packages/desktop/src/pages/error.tsx new file mode 100644 index 000000000..7a7c85aad --- /dev/null +++ b/packages/desktop/src/pages/error.tsx @@ -0,0 +1,44 @@ +import { TextField } from "@opencode-ai/ui/text-field" +import { Logo } from "@opencode-ai/ui/logo" +import { Component } from "solid-js" +import { usePlatform } from "@/context/platform" +import { Icon } from "@opencode-ai/ui/icon" + +interface ErrorPageProps { + error: any +} + +export const ErrorPage: Component = (props) => { + const platform = usePlatform() + return ( +
+
+ +
+

Something went wrong

+

An error occurred while loading the application.

+
+ +
+ Please report this error to the OpenCode team + +
+
+
+ ) +} -- cgit v1.2.3