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

Better error handling and health check #5

Merged
merged 4 commits into from
Sep 5, 2023
Merged

Better error handling and health check #5

merged 4 commits into from
Sep 5, 2023

Conversation

LostAndDead
Copy link
Owner

Adds better error handling for when a connection to a Chibisafe server cant be made

  • Every fetch is now in a try statement
  • If any request fails the main loop is paused
  • Will automatically check/try to resume the connection every 15 seconds
  • Disabling the loop via commands is not separate from the error pausing
  • Docker health check script has been added, and will flag unhealthy if a connection cant be made

Going to let it run for a bit and do a bit more testing, but i think its good to go.

@LostAndDead LostAndDead merged commit 44e2a7c into main Sep 5, 2023
3 checks passed
@LostAndDead LostAndDead deleted the dev branch September 5, 2023 18:34
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.

1 participant