stack/apps
Zai Shi 8139ee926b
Added error logs for team member update (#706)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md

-->

<!-- ELLIPSIS_HIDDEN -->

----

> [!IMPORTANT]
> Added error handling for team member updates and contact channel
verification, with corresponding tests.
> 
>   - **Error Handling**:
> - In `verification-code-handler.tsx`, added `StatusError` for missing
contact channels during email verification.
> - In `crud.tsx`, wrapped `teamMember.update` in a try-catch to log
errors with `StackAssertionError` if update fails.
>   - **Testing**:
> - Updated `users.test.ts` to test team selection updates, ensuring
correct team ID is set or unset.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for b024f7ba3e. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->

---------

Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-27 02:20:08 +02:00
..
backend Added error logs for team member update (#706) 2025-06-27 02:20:08 +02:00
dashboard Fix domain page bug (#709) 2025-06-26 20:49:07 +02:00
dev-launchpad chore: update package versions 2025-06-19 14:22:32 -07:00
e2e Added error logs for team member update (#706) 2025-06-27 02:20:08 +02:00
mcp-server chore: update package versions 2025-06-19 14:22:32 -07:00
mock-oauth-server chore: update package versions 2025-06-19 14:22:32 -07:00
oauth-mock-server In-source unit tests (#429) 2025-02-14 11:47:52 -08:00