Skip to content

Commit 6697b18

Browse files
ImShyMikeCopilot
andauthored
reraise exception
Co-authored-by: Copilot <[email protected]>
1 parent 2b7c859 commit 6697b18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

v1/users/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ async def update_user(
8181

8282
await send_otp_code(to_email=update_request.email, old_email=user_email)
8383
response.status_code = 200
84+
except HTTPException:
85+
raise
8486
except Exception as e: # type: ignore # pylint: disable=broad-exception-caught
8587
raise HTTPException(status_code=500) from e
8688

0 commit comments

Comments
 (0)