Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch user update integrity error #366

Closed

Conversation

robertop23
Copy link

Added exc.IntegrityError to catch when an user update contains an already registered email

### Added exc.IntegrityError to catch when an user update contains an already registered email
@tiangolo
Copy link
Member

Thanks! Good catch! 🔍 This was handled here: #689, preemptively checking if the new email already exists. So I'll now close this one. But thanks for the effort! 🍰

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.

3 participants