Skip to content

fix: improve new-project network error diagnostics#125

Open
SergioChan wants to merge 1 commit into666ghj:mainfrom
SergioChan:fix/issue-121
Open

fix: improve new-project network error diagnostics#125
SergioChan wants to merge 1 commit into666ghj:mainfrom
SergioChan:fix/issue-121

Conversation

@SergioChan
Copy link

Summary

Improve frontend error feedback when creating a new project so users can quickly diagnose "Network Error" and timeout failures instead of seeing a generic message.

Changes

  • Added formatProjectInitError in frontend/src/views/Process.vue
  • Distinguish timeout errors and provide actionable hint (reduce file size / check model speed)
  • Distinguish network errors and show configured backend URL (VITE_API_BASE_URL fallback)
  • Surface backend error/message payload when available

Testing

  • Manual code-path review for handleNewProject catch block
  • No automated frontend test harness in repo for this view

Fixes #121

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

卡在了Exception in handleNewProject: Network Error

1 participant