Revise handling when switches specified don't exist

Created on 2 June 2023, over 1 year ago

Right now, if you call the Beta Switches twig plugin or service with an invalid switch, a 500 error occurs and exception is thrown. This means that someone could take down the site by accidentally removing a switch in the UI.

We need to update the exception handling to deal with invalid switch machine name arguments more gracefully.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cameron prince

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024