Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show errors in cms data to admins #2336

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Steven-Eardley
Copy link
Contributor

Display data loading errors on static pages server

Not sure if this is the right approach here - but the server does currently go down (looping exception on application start) when the data is currently unparsable, whcih makes debugging the static_pages branch more challenging. Alert looks like so (visible only to admins):

Screenshot from 2024-01-03 12-41-45

Copy link
Contributor

@RK206 RK206 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me

@richard-jones
Copy link
Contributor

The actual feature looks fine, but this looks like broken data could leak these pages into the live UI were they to get through, can we have a config flag to turn them on and set that on the static pages server?

@Steven-Eardley
Copy link
Contributor Author

Updated to include config key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants