YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(error-boundary): extract Error fields explicitly so feedback logs aren't \`{}\`
Louis Beaumonte610d9bebf2a
diff --git a/apps/screenpipe-app-tauri/app/error.tsx b/apps/screenpipe-app-tauri/app/error.tsxindex 31cabfb6a..4b4f8cece 100644--- a/apps/screenpipe-app-tauri/app/error.tsx+++ b/apps/screenpipe-app-tauri/app/error.tsx@@ -14,7 +14,16 @@ export default function GlobalError({reset: () => void;}) {useEffect(() => {- console.error("global error boundary caught:", error);+ // Explicitly extract Error fields — JSON.stringify(error) returns `{}` because+ // `message`, `stack`, `name` are non-enumerable, so the Tauri log bridge+ // was dropping every useful detail into the void.+ const serialized = {+ name: error?.name,+ message: error?.message,+ digest: error?.digest,+ stack: error?.stack,+ };+ console.error("global error boundary caught:", serialized);}, [error]);return (