frontend-app-api: isolate invalid feature flag registrations
Wrap each feature flag registration in a try/catch so that a single invalid flag name (e.g. containing a slash) is reported through the error collector instead of crashing the entire app at bootstrap. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/frontend-app-api': patch
|
||||
---
|
||||
|
||||
Invalid feature flag declarations no longer crash the app during bootstrap. They are now reported through the error collector and skipped, letting the rest of the app load normally.
|
||||
Reference in New Issue
Block a user