Skip to content

feat(web-ui): persist webview console logs and improve React crash diagnostics#248

Merged
wsp1911 merged 1 commit intoGCWing:mainfrom
wsp1911:main
Mar 24, 2026
Merged

feat(web-ui): persist webview console logs and improve React crash diagnostics#248
wsp1911 merged 1 commit intoGCWing:mainfrom
wsp1911:main

Conversation

@wsp1911
Copy link
Copy Markdown
Collaborator

@wsp1911 wsp1911 commented Mar 24, 2026

  • Forward console.* to tauri_plugin_log via bootstrapLogger() so startup output reaches webview.log; replace dev-only attachConsole with always-on forwarding
  • Add reactProductionError helpers for minified React errors (decoder URL, hints)
  • Log minified React failures from window:error/unhandledrejection; split white- screen dedupe from Error Boundary so each boundary error is still logged
  • Desktop: set portable_pty and russh log filters to Info

…agnostics

- Forward console.* to tauri_plugin_log via bootstrapLogger() so startup output
  reaches webview.log; replace dev-only attachConsole with always-on forwarding
- Add reactProductionError helpers for minified React errors (decoder URL, hints)
- Log minified React failures from window:error/unhandledrejection; split white-
  screen dedupe from Error Boundary so each boundary error is still logged
- Desktop: set portable_pty and russh log filters to Info
@wsp1911 wsp1911 merged commit fe6b031 into GCWing:main Mar 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant