linkedin / iris

Iris is a highly configurable and flexible service for paging and messaging.
http://iris.claims
BSD 2-Clause "Simplified" License
813 stars 138 forks source link

Avoid 5xx's when creating templates/plans with invalid targets #762

Closed jrgp closed 10 months ago

jrgp commented 10 months ago

Catch these integrity errors and return them as 400s instead of raising 500s.

Needed when importing lots of templates/plans in bulk where a majority of them will reference invalid targets.