mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 23:19:10 +00:00
To avoid an uncaught IntegrityError causing a 500 HTTP response in a race between two processes trying to mute a topic, we catch the integrity error and raise the error exception with status 400 we'd have gotten if the second request had been a bit later. Fixes #21011.
8.5 KiB
8.5 KiB