Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

server: make self-hosted instances resilent to github API failures #674

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

xvello
Copy link
Member

@xvello xvello commented Jun 10, 2024

Retrieval of news will start to fail when this repository is deleted.

If LETSBLOCKIT_OFFICIAL_INSTANCE is false, the server will default to an empty news list if the API endpoint returns an error. This should allow these instances to stay up.

@xvello xvello merged commit f4b208d into main Jun 10, 2024
3 checks passed
@xvello xvello deleted the xvello/skipnews branch June 10, 2024 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
1 participant