Skip to content
Snippets Groups Projects
Unverified Commit 816054b0 authored by qashlan's avatar qashlan Committed by GitHub
Browse files

Fix internal server error when updating 3pid address with invalid email (#18125)


When updating 3pid for a user email from admin api and sending invalid
email the server throws 500 internal server error.
changed to 400 Bad request and returned the error message

Signed-off-by: default avatarqashlan <ahmedelqashlan@gmail.com>
Signed-off-by: default avatarAhmed Qashlan <ahmedelqashlan@gmail.com>
parent aaffc356
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment