1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-31 01:16:01 +02:00
unleash.unleash/src
Nuno Góis 1078dd1c41
fix: return bad data error when failing to patch env variants (#9708)
https://linear.app/unleash/issue/2-3483/variants-endpoint-should-return-400-or-other-more-appropriate-status

Throws BadDataError (returns 400) instead of 500 by wrapping the patch
logic with a try catch.

Added a test that validates the new behavior.
2025-04-08 09:32:40 +01:00
..
lib fix: return bad data error when failing to patch env variants (#9708) 2025-04-08 09:32:40 +01:00
mailtemplates feat: productivity email action text (#8966) 2024-12-12 12:00:08 +01:00
migrations feat: environment required approvals migration (#9612) 2025-03-25 15:33:58 +01:00
test fix: return bad data error when failing to patch env variants (#9708) 2025-04-08 09:32:40 +01:00
migrator.ts chore: Create test db from template (#9265) 2025-02-11 13:01:43 +01:00
server-dev.ts chore: Add flag for add/edit strategies (#9699) 2025-04-04 10:18:05 +02:00
server.ts