Skip to content

Conversation

@leplatrem
Copy link
Contributor

All implementation follow this logic:

if check_results.level < checks.ERROR:
        status_code = 200        
else:
        status_code = 500

@leplatrem leplatrem changed the title Fix docs heartbeat warnings Fix docs about heartbeat status on warnings (200, not 5XX) Feb 23, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.97%. Comparing base (2ba0254) to head (f670e83).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage   97.97%   97.97%           
=======================================
  Files          22       22           
  Lines         692      692           
  Branches       92       92           
=======================================
  Hits          678      678           
  Misses          8        8           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leplatrem leplatrem merged commit c939637 into main Feb 26, 2024
@leplatrem leplatrem deleted the fix-docs-heartbeat-warnings branch February 26, 2024 17:09
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.

4 participants