Skip to content

Show member invite validation errors#94

Open
arjunkomath wants to merge 1 commit into
mainfrom
fix/member-invite-errors
Open

Show member invite validation errors#94
arjunkomath wants to merge 1 commit into
mainfrom
fix/member-invite-errors

Conversation

@arjunkomath

Copy link
Copy Markdown
Member

Summary

  • return expected member-invite validation failures as action results instead of throwing
  • show duplicate-member and invalid-invite details directly in the invite form toast

Why

Next hides thrown server action error messages in production and only exposes a digest, so expected business errors need to be returned as data.

Verification

  • pnpm exec biome check actions/members.ts components/settings/member-settings.tsx
  • pnpm exec tsc --noEmit

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 97d4638.

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